summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/netstat.c
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2003-08-01 20:28:20 +0000
committerdwmalone <dwmalone@FreeBSD.org>2003-08-01 20:28:20 +0000
commit9902e77aa2063d0a89ede6590b1e001a99e765d7 (patch)
treeda7d960e379b3bb363b96828304ecde4ba6bfb13 /usr.bin/systat/netstat.c
parent9e28da88a0ecd470d55ce3e9eb72d136ea064dea (diff)
downloadFreeBSD-src-9902e77aa2063d0a89ede6590b1e001a99e765d7.zip
FreeBSD-src-9902e77aa2063d0a89ede6590b1e001a99e765d7.tar.gz
Add ip6 and icmp6 displays to systat.
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/systat/netstat.c')
-rw-r--r--usr.bin/systat/netstat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index c3b4a3b..7a6c1bd 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -53,6 +53,9 @@ static const char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93";
#include <net/route.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#ifdef INET6
+#include <netinet/ip6.h>
+#endif
#include <netinet/in_pcb.h>
#include <netinet/ip_icmp.h>
#include <netinet/icmp_var.h>
OpenPOWER on IntegriCloud