> 2. proto_tree_add_ipv4(ntree, hf_ip_addr, tvb, offset,
> SIZE_IP_ADDR, ip);
>
>
> where hf_ip is defined anyway as:
>
> { &hf_ip,
> { "IP Address", "protocol.ip", FT_IPv4, BASE_DEC, NULL, 0x0, "IP
> Address", HFILL}},
>
>
> I assume #2.Unless you have to do a fetch from the tvb to get that 'ip' variable first.
