diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 1997-05-27 02:17:42 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 1997-05-27 02:17:42 +0000 |
| commit | 2ebf6c05136945eb89ae7597c7daaf1e1cfa04e2 (patch) | |
| tree | 28b47ae13c11af4fe1e842dcf5210f078af19243 /contrib/tcpdump/print-null.c | |
| parent | 5775941a02df8ef8258a3a4fa2042108cf9919a3 (diff) | |
Notes
Diffstat (limited to 'contrib/tcpdump/print-null.c')
| -rw-r--r-- | contrib/tcpdump/print-null.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/tcpdump/print-null.c b/contrib/tcpdump/print-null.c index eaa8a26e8c26..cf845d41118a 100644 --- a/contrib/tcpdump/print-null.c +++ b/contrib/tcpdump/print-null.c @@ -20,8 +20,8 @@ */ #ifndef lint -static char rcsid[] = - "@(#)$Header: print-null.c,v 1.19 96/07/14 19:39:02 leres Exp $ (LBL)"; +static const char rcsid[] = + "@(#) $Header: print-null.c,v 1.22 96/12/10 23:18:58 leres Exp $ (LBL)"; #endif #include <sys/param.h> @@ -46,15 +46,19 @@ struct rtentry; #include <netinet/tcp.h> #include <netinet/tcpip.h> +#include <pcap.h> #include <stdio.h> #include <string.h> -#include "interface.h" #include "addrtoname.h" -#include "pcap.h" +#include "interface.h" #define NULL_HDRLEN 4 +#ifndef AF_NS +#define AF_NS 6 /* XEROX NS protocols */ +#endif + static void null_print(const u_char *p, const struct ip *ip, u_int length) { |
