Comment # 8
on bug 8562
from Martin Kaiser
Hi Mathias,
(In reply to comment #5)
> I don't know whether it is feasible to convert "Routing Path attributes" or
> "SNPA lists" into parseable substructures.
>
In dissect_attributes(), you could create a subtree for the attribute you
dissect, using proto_item_add_subtree() and a new ett_... variable.
E.g. for SNPA, you'd define a string hf
{ &hf_idrp_snpa,
{ "SNPA", "idrp.snpa",
FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }
},
and call proto_tree_add_item(attr_tree, hf_idrp_snpa, tvb, offset, snpa_len,
ENC_ASCII|ENC_NA);
in the for(...nb_of_snpa...) loop
regards
Martin
You are receiving this mail because:
- You are watching all bug changes.