From: Francois-Xavier Le Bail Date: Mon, 15 May 2023 07:44:27 +0000 (+0200) Subject: RT6: Update an error message X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/cc59ecca5cf6305db73f3b32b80aa194a83bc025 RT6: Update an error message This change will avoid having the keyword "invalid" twice as: (invalid length nnn) (invalid) --- 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;