hi
I want spend a 9 bytes address as a hex value (0x. ....) , I tried as follows; 

proto_tree_add_bytes_format_value(lon_tree, hf_unicast, tvb, 
offset,9,lon_unicast,"0xX",lon_unicast);

{ &hf_unicast,
        { "Unicast",
        "lon.Unicast",
        FT_BYTES, BASE_HEX ,NULL,
        0x0, "unicast", HFILL }
                },
i don't know what kind of tvb_get_xxx funktion ,is usefull .

they unfortunately do I get an error. Do not know why!

I would be grateful for your help.

bijjou

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to