summaryrefslogtreecommitdiffstats
path: root/print-dtp.c
diff options
context:
space:
mode:
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;
}