summaryrefslogtreecommitdiffstats
path: root/print-dtp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
commit7ba700b7f6e5fb17d280e2b8a3ae28866777715f (patch)
tree2f538ff3d975beabb6c371d999b1ee6e8b91cfb5 /print-dtp.c
parentReleasing progress-linux version 4.99.4-4~progress7.99u1. (diff)
downloadtcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.tar.xz
tcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.zip
Merging upstream version 4.99.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-dtp.c')
-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;
}