forked from osmocom/wireshark
pcapng: set the length of the options item.
It runs up to either the end of the option data or the terminating
end-of-options option (readers MUST handle lists of options that
contains an end-of-options option and lists of options that don't).
(cherry picked from commit 2f5c0ffdb2
)
This commit is contained in:
parent
73fe213954
commit
65a554b976
|
@ -1339,6 +1339,7 @@ static gint dissect_options(proto_tree *tree, packet_info *pinfo,
|
|||
proto_item_append_text(option_item, " = %s", str);
|
||||
|
||||
}
|
||||
proto_item_set_end(options_item, tvb, offset);
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue