summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-15 09:44:27 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-05-15 09:44:27 +0200
commitcc59ecca5cf6305db73f3b32b80aa194a83bc025 (patch)
treeb3c808df060d10832ad55c4d6338634be3be9981
parente8d0325a5b85e027aff1cf0f3636cf7f66d74f82 (diff)
downloadtcpdump-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.c2
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;