Pascal Quantin
changed
bug 13258
What |
Removed |
Added |
Status |
UNCONFIRMED
|
RESOLVED
|
CC |
|
[email protected]
|
Resolution |
---
|
NOTABUG
|
Comment # 1
on bug 13258
from Pascal Quantin
In your dissector, you can get the parent tree with the following function:
proto_tree_get_parent_tree()
By using the tree returned by this function, the dissection should appear at
the same level as the Infiniband one.
So your code should be something like this:
static int
dissect_plugname(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent, void*
data _U_)
{
proto_tree *parent;
parent = proto_tree_get_parent_tree(tree);
proto_tree_add_item(parent, proto_plugname, tvb, offset, -1, ENC_NA);
...
For the future, please consider using [email protected] mailing list
for a development question instead of bugzilla which tracks real bugs /
enhancement requests.
You are receiving this mail because:
- You are watching all bug changes.