summaryrefslogtreecommitdiffstats
path: root/print-rt6.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
commit31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d (patch)
tree99d6c086833d530e5d1d33a8128961f8149843f0 /print-rt6.c
parentAdding upstream version 4.99.4. (diff)
downloadtcpdump-upstream/4.99.5.tar.xz
tcpdump-upstream/4.99.5.zip
Adding upstream version 4.99.5.upstream/4.99.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-rt6.c')
-rw-r--r--print-rt6.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print-rt6.c b/print-rt6.c
index 096a962..6019cd7 100644
--- a/print-rt6.c
+++ b/print-rt6.c
@@ -21,9 +21,7 @@
/* \summary: IPv6 routing header printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
@@ -66,7 +64,7 @@ rt6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_)
}
if (len % 2 == 1) {
- ND_PRINT(" (invalid length %u)", len);
+ ND_PRINT(" [length %u]", len);
goto invalid;
}
len >>= 1;