]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rt6.c
Allow tcpdump to work with earlier libpcaps.
[tcpdump] / print-rt6.c
index 1df6aaaaf8dee790e9123c1e809c427433b6800f..122531374f5ef01c23eb288682438d2ecff1fca6 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.12 2000-09-23 08:54:38 guy Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.16 2000-10-07 05:53:13 itojun Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -35,14 +35,12 @@ static const char rcsid[] =
 #include <sys/types.h>
 #include <sys/socket.h>
 
-#include <net/if.h>
 
 #include <netinet/in.h>
-#include <netinet/in_systm.h>
 
 #include <stdio.h>
 
-#include <netinet/ip6.h>
+#include "ip6.h"
 
 #include "interface.h"
 #include "addrtoname.h"
@@ -60,7 +58,7 @@ rt6_print(register const u_char *bp, register const u_char *bp2)
        ip = (struct ip6_hdr *)bp2;
        len = dp->ip6r_len;
 
-       /* 'ep' points to the end of avaible data. */
+       /* 'ep' points to the end of available data. */
        ep = snapend;
 
 #if 0