summaryrefslogtreecommitdiffstats
path: root/print-dtp.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-dtp.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 '')
-rw-r--r--print-dtp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print-dtp.c b/print-dtp.c
index a1ae4ba..4bc6f5c 100644
--- a/print-dtp.c
+++ b/print-dtp.c
@@ -17,9 +17,7 @@
/* \summary: Dynamic Trunking Protocol (DTP) printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
@@ -84,7 +82,7 @@ dtp_print(netdissect_options *ndo, const u_char *tptr, u_int length)
/* infinite loop check */
if (len < 4 || len > length) {
- ND_PRINT("[invalid TLV length %u]", len);
+ ND_PRINT("[TLV length %u]", len);
goto invalid;
}