Fix expert info message for wrong option length.
Bug: 15290 Change-Id: Id5b4f6a899fea542f5d50e8be991d7cca623fd46 Reviewed-on: https://code.wireshark.org/review/30744 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
83c17c4d17
commit
8beab04229
|
@ -737,7 +737,7 @@ ip_fixed_option_header(proto_tree* tree, packet_info *pinfo, tvbuff_t *tvb, int
|
|||
expert_add_info_format(pinfo, tf, &ei_ip_opt_len_invalid,
|
||||
"%s (with option length = %u byte%s; should be %u)",
|
||||
proto_get_protocol_short_name(find_protocol_by_id(proto)),
|
||||
len, plurality(len, "", "s"), optlen);
|
||||
optlen, plurality(optlen, "", "s"), len);
|
||||
}
|
||||
|
||||
return field_tree;
|
||||
|
|
Loading…
Reference in New Issue