Hi all,

I am working on a dissector plugin.
I have a problem with the use of RVALS in display filter. As indicated in 
README.developer, I wrote my code like that:

...
guint8 type = 0; 
....
type = tvb_get_guint8(tvb, 29);
...
proto_tree_add_uint(afdx_tree, hf_type, tvb, 29, 1, type);
...
{ &hf_type,
            { "Data type  ", "afdx.type", FT_UINT8, BASE_DEC|BASE_RANGE_STRING, 
RVALS(afdx_type), 0x0,
                "Type of data carried", HFILL }},


I changed my file proto.c as indicated in this url, because it didn't integrate 
the BASE_RANGE_STRING:
http://www.nabble.com/rev-26257:--trunk-epan---trunk-epan-:-proto.c-td19639466.html

But it does not solve the problem. I still can't run WireShark with this code 
in my plugin, and the problem seems to come from RVALS or interpretation of 
BASE_RANGE_STRING.

Does anyone can help me?

Thanks a lot!

Yvan



      
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to