Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/ifconfig make this compilable with USE_INET6=no.



details:   https://anonhg.NetBSD.org/src/rev/357e8719aae0
branches:  trunk
changeset: 579618:357e8719aae0
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Mar 19 18:16:06 2005 +0000

description:
make this compilable with USE_INET6=no.

diffstat:

 sbin/ifconfig/tunnel.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 43a92cad2fd9 -r 357e8719aae0 sbin/ifconfig/tunnel.c
--- a/sbin/ifconfig/tunnel.c    Sat Mar 19 17:36:02 2005 +0000
+++ b/sbin/ifconfig/tunnel.c    Sat Mar 19 18:16:06 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tunnel.c,v 1.1 2005/03/19 17:32:26 thorpej Exp $       */
+/*     $NetBSD: tunnel.c,v 1.2 2005/03/19 18:16:06 yamt Exp $  */
 
 /*
  * Copyright (c) 1983, 1993
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: tunnel.c,v 1.1 2005/03/19 17:32:26 thorpej Exp $");
+__RCSID("$NetBSD: tunnel.c,v 1.2 2005/03/19 18:16:06 yamt Exp $");
 #endif /* not lint */
 
 #include <sys/param.h> 
@@ -54,7 +54,9 @@
 #include "extern.h"
 #include "tunnel.h"
 
+#ifdef INET6
 extern void in6_fillscopeid(struct sockaddr_in6 *sin6);        /* XXX */
+#endif
 
 void
 settunnel(const char *src, const char *dst)



Home | Main Index | Thread Index | Old Index