Fix typo (wrong proto_item is used... when there is PAD1 Option)

svn path=/trunk/; revision=41636
This commit is contained in:
Alexis La Goutte 2012-03-18 11:54:23 +00:00
parent 52594e8d9b
commit d033740bc7

View file

@ -853,7 +853,7 @@ dissect_opts(tvbuff_t *tvb, int offset, proto_tree *tree, packet_info * pinfo, c
if (opt_type == IP6OPT_PAD1) {
proto_tree_add_item(opt_tree, hf_ipv6_opt_pad1, tvb, offset, 1, ENC_NA);
offset += 1;
proto_item_append_text(ti, ")");
proto_item_append_text(ti_opt, ")");
continue;
}