summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-01-03 20:16:31 +0000
committerwollman <wollman@FreeBSD.org>1997-01-03 20:16:31 +0000
commite9eee4f4075fde5691b87c6d72f173e550b0fb4c (patch)
tree16d791bf5a4ffe43ef79fbaf67f89a3359ef5db2 /usr.bin
parentfb791032510b5ca78a473360cea58d11db7a91ac (diff)
downloadFreeBSD-src-e9eee4f4075fde5691b87c6d72f173e550b0fb4c.zip
FreeBSD-src-e9eee4f4075fde5691b87c6d72f173e550b0fb4c.tar.gz
Update to match changes in <net/if.h> and <netinet/ip_mroute.h>.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/if.c5
-rw-r--r--usr.bin/netstat/mroute.c2
-rw-r--r--usr.bin/netstat/route.c5
3 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 4dc9f78..0edd116 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -32,7 +32,11 @@
*/
#ifndef lint
+/*
static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95";
+*/
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <sys/types.h>
@@ -41,6 +45,7 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95";
#include <sys/time.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <netinet/in.h>
diff --git a/usr.bin/netstat/mroute.c b/usr.bin/netstat/mroute.c
index 68a15f5..e725d5d 100644
--- a/usr.bin/netstat/mroute.c
+++ b/usr.bin/netstat/mroute.c
@@ -55,9 +55,7 @@
#include <netinet/in.h>
#include <netinet/igmp.h>
#include <net/route.h>
-#define KERNEL 1 /* XXX bogus! */
#include <netinet/ip_mroute.h>
-#undef KERNEL
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index 2da464f..8a21f4f 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -36,7 +36,7 @@
static char sccsid[] = "From: @(#)route.c 8.6 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
- "$Id: route.c,v 1.21 1996/10/28 18:56:44 wollman Exp $";
+ "$Id: route.c,v 1.22 1996/12/10 17:11:53 wollman Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -45,11 +45,10 @@ static const char rcsid[] =
#include <sys/time.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_dl.h>
#include <net/if_types.h>
-#define KERNEL
#include <net/route.h>
-#undef KERNEL
#include <netinet/in.h>
#include <netipx/ipx.h>
OpenPOWER on IntegriCloud