diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-15 09:44:27 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-15 09:44:27 +0200 |
commit | cc59ecca5cf6305db73f3b32b80aa194a83bc025 (patch) | |
tree | b3c808df060d10832ad55c4d6338634be3be9981 | |
parent | e8d0325a5b85e027aff1cf0f3636cf7f66d74f82 (diff) | |
download | tcpdump-cc59ecca5cf6305db73f3b32b80aa194a83bc025.tar.gz |
RT6: Update an error message
This change will avoid having the keyword "invalid" twice as:
(invalid length nnn) (invalid)
-rw-r--r-- | print-rt6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-rt6.c b/print-rt6.c index fe0e8575..c2f86ff4 100644 --- a/print-rt6.c +++ b/print-rt6.c @@ -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; |