Wiresharkers
When I print out the ipv4 address in the tree... I get the following:
IPv4: 192.168.2.8 (192.168.2.8)
Why am I getting double ip addresses in the output..??
Here is my code:
{ &hf_helen_ipv4,
{ "IPv4", "helen.ipv4address", FT_IPv4, BASE_NONE, NULL, 0x0,
"IPv4", HFILL}},
guint32 addr;
addr = tvb_get_ipv4(tvb,offset);
proto_tree_add_item(helen_sub_tree, hf_helen_ipv4, tvb, offset,
4, FALSE);
Thanks,
Brian
___________________________________________________________________________
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