X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ce751501abbddbe91d683d13b5cd845a5d551d8f..c9d84d15c5c4dc8eca7594101fe5026080ed641e:/print-ospf.c diff --git a/print-ospf.c b/print-ospf.c index 92945b39..4d247556 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -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 @@ -33,6 +33,7 @@ static const char rcsid[] = #include #include #include +#include #include #include @@ -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);