diff options
Diffstat (limited to 'epan/dissectors/packet-dhcp.c')
-rw-r--r-- | epan/dissectors/packet-dhcp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dhcp.c b/epan/dissectors/packet-dhcp.c index 4685c659f3..882159a3d2 100644 --- a/epan/dissectors/packet-dhcp.c +++ b/epan/dissectors/packet-dhcp.c @@ -1664,6 +1664,9 @@ dhcp_handle_basic_types(packet_info *pinfo, proto_tree *tree, proto_item *item, proto_tree_add_item(tree, *hf, tvb, offset, 4, ENC_BIG_ENDIAN); else if (hf_default->ipv4 != NULL) proto_tree_add_item(tree, *hf_default->ipv4, tvb, offset, 4, ENC_BIG_ENDIAN); + + /* Show IP address in root of option */ + proto_item_append_text(tree, " (%s)", tvb_ip_to_str(tvb, offset)); consumed = 4; break; |