summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/print-null.c')
-rw-r--r--usr.sbin/tcpdump/print-null.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/print-null.c b/usr.sbin/tcpdump/print-null.c
index b8d109c445e..6a6ca9cb4e9 100644
--- a/usr.sbin/tcpdump/print-null.c
+++ b/usr.sbin/tcpdump/print-null.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-null.c,v 1.9 1999/07/28 20:41:36 jakob Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-null.c,v 1.10 1999/09/16 20:58:47 brad Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -50,8 +50,12 @@ struct rtentry;
#include <stdio.h>
#include <string.h>
-#include "addrtoname.h"
#include "interface.h"
+#include "addrtoname.h"
+
+#ifndef AF_NS
+#define AF_NS 6 /* XEROX NS protocols */
+#endif
/*
* The DLT_NULL packet header is 4 bytes long. It contains a network
@@ -59,10 +63,6 @@ struct rtentry;
*/
#define NULL_HDRLEN 4
-#ifndef AF_NS
-#define AF_NS 6 /* XEROX NS protocols */
-#endif
-
static void
null_print(const u_char *p, u_int length, u_int family)
{