From cc59ecca5cf6305db73f3b32b80aa194a83bc025 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Mon, 15 May 2023 09:44:27 +0200 Subject: [PATCH] RT6: Update an error message This change will avoid having the keyword "invalid" twice as: (invalid length nnn) (invalid) --- print-rt6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5