summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-ospf.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-07-08 10:58:28 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-07-08 10:58:28 +0000
commit3fdb79dfdd32998f85902cb82552ef9060009fbe (patch)
tree9bb6be82313ea771b9daeb044151c7274bfeabfb /usr.sbin/tcpdump/print-ospf.c
parent1fa7f40ee5c48bd5214cd693bc53cf0b2d24d00c (diff)
print ip_{src,dst} again; ok henning@
Diffstat (limited to 'usr.sbin/tcpdump/print-ospf.c')
-rw-r--r--usr.sbin/tcpdump/print-ospf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-ospf.c b/usr.sbin/tcpdump/print-ospf.c
index ff15be16bbc..60e37b3cb05 100644
--- a/usr.sbin/tcpdump/print-ospf.c
+++ b/usr.sbin/tcpdump/print-ospf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ospf.c,v 1.8 2000/10/03 14:31:58 ho Exp $ */
+/* $OpenBSD: print-ospf.c,v 1.9 2003/07/08 10:58:27 markus Exp $ */
/*
* Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997
@@ -25,7 +25,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ospf.c,v 1.8 2000/10/03 14:31:58 ho Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ospf.c,v 1.9 2003/07/08 10:58:27 markus Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -509,11 +509,9 @@ 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);