Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ipf/tools Fix compilation with -UUSE_INET6
details: https://anonhg.NetBSD.org/src/rev/203ecb9f2b86
branches: trunk
changeset: 572666:203ecb9f2b86
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Jan 10 02:08:51 2005 +0000
description:
Fix compilation with -UUSE_INET6
diffstat:
dist/ipf/tools/ipfstat.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 6a68bdbce23d -r 203ecb9f2b86 dist/ipf/tools/ipfstat.c
--- a/dist/ipf/tools/ipfstat.c Mon Jan 10 01:51:13 2005 +0000
+++ b/dist/ipf/tools/ipfstat.c Mon Jan 10 02:08:51 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipfstat.c,v 1.7 2004/11/13 19:16:10 he Exp $ */
+/* $NetBSD: ipfstat.c,v 1.8 2005/01/10 02:08:51 lukem Exp $ */
/*
* Copyright (C) 1993-2001, 2003 by Darren Reed.
@@ -1592,7 +1592,9 @@
int v;
i6addr_t *addr;
{
+#ifdef USE_INET6
static char hostbuf[MAXHOSTNAMELEN+1];
+#endif
if (v == 4)
return inet_ntoa(addr->in4);
Home |
Main Index |
Thread Index |
Old Index