This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

PNODE_FINFO returning NULL?

0

i am working on my current project using wireshark lib,

after calling dissector run on the data buffer, i get the 'edt' tree but when i call PNODE_FINFO on the node where ('node = edt.tree')

PNODE_FINFO returns NULL what is the problem? any help.

thanks!!

asked 23 Jan '12, 23:09

Sanny_D's gravatar image

Sanny_D
0182021
accept rate: 50%


One Answer:

1

You are looking at the root of the tree, that has no field info (ref epan/epan.c:epan_dissect_init() and /epan/proto.c:proto_tree_create_root()). Look further down into the tree to find the items, those have field info.

answered 25 Jan '12, 02:12

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%