mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
NSH: Update an error message
This change will avoid having the keyword "invalid" twice as: (invalid length for the MD type) (invalid)
This commit is contained in:
parent
cc59ecca5c
commit
b1c4b0f32d
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user