summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-13 15:43:38 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-13 15:43:43 +0200
commitf4780fb4246a57774a0917c5dcd2fd4f727e6456 (patch)
treedf62532a189ace0681635a5a1f36f9bc66706147
parent57f12d165788e4bc436757102eb83113091ab4be (diff)
downloadtcpdump-f4780fb4246a57774a0917c5dcd2fd4f727e6456.tar.gz
DTP: Update an error message
This change will avoid having the keyword "invalid" twice as : [invalid TLV length nnn] (invalid)
-rw-r--r--print-dtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-dtp.c b/print-dtp.c
index a1ae4ba4..1d790f9b 100644
--- a/print-dtp.c
+++ b/print-dtp.c
@@ -84,7 +84,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;
}