summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-15 09:49:50 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-15 09:49:50 +0200
commitb1c4b0f32d7565dc2e40161ee7a933d0f1bc7a58 (patch)
tree3f4bb1073915992ab36c0be7f178800c50a98e6a
parentcc59ecca5cf6305db73f3b32b80aa194a83bc025 (diff)
downloadtcpdump-b1c4b0f32d7565dc2e40161ee7a933d0f1bc7a58.tar.gz
NSH: Update an error message
This change will avoid having the keyword "invalid" twice as: (invalid length for the MD type) (invalid)
-rw-r--r--print-nsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-nsh.c b/print-nsh.c
index db78dee6..3ea90fe6 100644
--- a/print-nsh.c
+++ b/print-nsh.c
@@ -181,7 +181,7 @@ nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
if (md_type == MD_TYPE1) {
if (length != 6) {
- ND_PRINT(" (invalid length for the MD type)");
+ ND_PRINT(" (length for the MD type)");
goto invalid;
}
for (n = 0; n < length - 2; n++) {