forked from osmocom/wireshark
There is a logic bug in this dissector that is exposed
by a set but unused warning. Hack around this for now. Someone who knows the protocol should fix this. svn path=/trunk/; revision=40853
This commit is contained in:
parent
8d4f6fc794
commit
d436f89480
|
@ -64,17 +64,17 @@ dissect_ipdc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
||||||
/* call into flute */
|
/* call into flute */
|
||||||
len = tvb_reported_length_remaining(tvb, 0);
|
len = tvb_reported_length_remaining(tvb, 0);
|
||||||
|
|
||||||
|
/* FIXME: make proper use of esg_tree, everythign else is a logic bug */
|
||||||
if (tree) {
|
if (tree) {
|
||||||
proto_item *ti;
|
/* proto_item *ti; */
|
||||||
proto_tree *esg_tree;
|
/* proto_tree *esg_tree; */
|
||||||
|
|
||||||
ti = proto_tree_add_protocol_format(tree, proto_ipdc,
|
/* ti = */ proto_tree_add_protocol_format(tree, proto_ipdc,
|
||||||
tvb, 0, len,
|
tvb, 0, len,
|
||||||
"ESG Bootstrap");
|
"ESG Bootstrap");
|
||||||
esg_tree = proto_item_add_subtree(ti, ett_ipdc);
|
/* esg_tree = proto_item_add_subtree(ti, ett_ipdc); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
next_tvb = tvb_new_subset(tvb, 0, len, len);
|
next_tvb = tvb_new_subset(tvb, 0, len, len);
|
||||||
call_dissector(sub_handles[SUB_FLUTE], next_tvb, pinfo, tree);
|
call_dissector(sub_handles[SUB_FLUTE], next_tvb, pinfo, tree);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue