summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mroute6.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-08-07 16:39:33 +0000
committerume <ume@FreeBSD.org>2000-08-07 16:39:33 +0000
commite35ff24b97251716934363c568b0a7c1e8e064f5 (patch)
tree58aa45b09d28f708fbc94ef1e11732f7b1eb1d9b /usr.bin/netstat/mroute6.c
parent8fd46ab4554b7526d9001710a3297460c0bce9f8 (diff)
downloadFreeBSD-src-e35ff24b97251716934363c568b0a7c1e8e064f5.zip
FreeBSD-src-e35ff24b97251716934363c568b0a7c1e8e064f5.tar.gz
To make compilable without -DINET6.
PR: bin/20407 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
Diffstat (limited to 'usr.bin/netstat/mroute6.c')
-rw-r--r--usr.bin/netstat/mroute6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/netstat/mroute6.c b/usr.bin/netstat/mroute6.c
index f605a03..1277d56 100644
--- a/usr.bin/netstat/mroute6.c
+++ b/usr.bin/netstat/mroute6.c
@@ -67,6 +67,7 @@
* $FreeBSD$
*/
+#ifdef INET6
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/socket.h>
@@ -247,3 +248,4 @@ mrt6_stats(mstaddr)
(unsigned long long)mrtstat.mrt6s_pkt2large,
plural(mrtstat.mrt6s_pkt2large));
}
+#endif /*INET6*/
OpenPOWER on IntegriCloud