diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-15 09:49:50 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-15 09:49:50 +0200 |
commit | b1c4b0f32d7565dc2e40161ee7a933d0f1bc7a58 (patch) | |
tree | 3f4bb1073915992ab36c0be7f178800c50a98e6a | |
parent | cc59ecca5cf6305db73f3b32b80aa194a83bc025 (diff) | |
download | tcpdump-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.c | 2 |
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++) { |