RT6: Update an error message

This change will avoid having the keyword "invalid" twice as:
(invalid length nnn) (invalid)
This commit is contained in:
Francois-Xavier Le Bail 2023-05-15 09:44:27 +02:00
parent e8d0325a5b
commit cc59ecca5c

View File

@ -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;