]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ospf.c
Bring in KAME IPv6 tcpdump. replaces esp/ah/isakmp decoder.
[tcpdump] / print-ospf.c
index 92945b3929f66b85840a5bcb2ea609e4a023917f..4d24755691e7c3bcf584a334942d87e9be2726bf 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.25 1999-10-17 21:37:14 mcr Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.26 1999-10-30 05:11:19 itojun Exp $ (LBL)";
 #endif
 
 #include <sys/param.h>
@@ -33,6 +33,7 @@ static const char rcsid[] =
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
+#include <netinet/ip_var.h>
 
 #include <ctype.h>
 #include <stdio.h>
@@ -506,9 +507,11 @@ ospf_print(register const u_char *bp, register u_int length,
        op = (struct ospfhdr *)bp;
        ip = (struct ip *)bp2;
        /* Print the source and destination address  */
+#if 0
        (void) printf("%s > %s:",
            ipaddr_string(&ip->ip_src),
            ipaddr_string(&ip->ip_dst));
+#endif
 
         /* XXX Before we do anything else, strip off the MD5 trailer */
         TCHECK(op->ospf_authtype);