mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
RT6: Update an error message
This change will avoid having the keyword "invalid" twice as: (invalid length nnn) (invalid)
This commit is contained in:
parent
e8d0325a5b
commit
cc59ecca5c
@ -153,7 +153,7 @@ rt6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_)
|
||||
}
|
||||
|
||||
if (len % 2 == 1) {
|
||||
ND_PRINT(" (invalid length %u)", len);
|
||||
ND_PRINT(" [length %u]", len);
|
||||
goto invalid;
|
||||
}
|
||||
len >>= 1;
|
||||
|
Loading…
Reference in New Issue
Block a user