diff options
author | hannes <hannes> | 2004-09-29 16:49:31 +0000 |
---|---|---|
committer | hannes <hannes> | 2004-09-29 16:49:31 +0000 |
commit | 18c020c000d2cc939d52364e7812cb038e804838 (patch) | |
tree | 2418c4484d5f343b500e9ba32c90c10c8df3abb2 /print-ospf.c | |
parent | 5e6014ea380263ae6fe4511330aa9b1acacd2cec (diff) | |
download | tcpdump-18c020c000d2cc939d52364e7812cb038e804838.tar.gz |
-display cosmetics: make the output more conistent:
- consistent use of length field (not payload-len)
- no message type number given in PIM/OSPF printers
as those changes affect only verbose mode and/or
routing protocols we hope not to break existing scripts;
Diffstat (limited to 'print-ospf.c')
-rw-r--r-- | print-ospf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/print-ospf.c b/print-ospf.c index be622868..874bf5a2 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.55 2004-09-20 14:56:34 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.56 2004-09-29 16:49:31 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -894,10 +894,9 @@ ospf_print(register const u_char *bp, register u_int length, /* value. If it's not valid, say so and return */ TCHECK(op->ospf_type); cp = tok2str(type2str, "unknown LS-type", op->ospf_type); - printf("OSPFv%u, %s (%u), length: %u", + printf("OSPFv%u, %s, length: %u", op->ospf_version, cp, - op->ospf_type, length); if (*cp == 'u') return; |