aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hip.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-02-04 12:30:42 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-02-04 12:30:42 +0000
commitda9d25c9ebc3403303212e95e668a7e2530d823e (patch)
tree759b47d298cce628cd8ec978d8693ef260b61fa0 /epan/dissectors/packet-hip.c
parent758dc5b9a3354b840842df281ff7d92bfeeffd3c (diff)
From Samu Varjonen:
Bug fix: Incorrect presentation of Domain Identifier type and length in HIP dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5649 svn path=/trunk/; revision=35818
Diffstat (limited to 'epan/dissectors/packet-hip.c')
-rw-r--r--epan/dissectors/packet-hip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-hip.c b/epan/dissectors/packet-hip.c
index 852aefcd05..cfd85b85f3 100644
--- a/epan/dissectors/packet-hip.c
+++ b/epan/dissectors/packet-hip.c
@@ -1289,11 +1289,11 @@ proto_register_hip(void)
{ &hf_hip_tlv_host_di_type,
{ "Domain Identifier Type", "hip.tlv.host_domain_id_type",
- FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
+ FT_UINT8, BASE_DEC, NULL, 0xF0, NULL, HFILL }},
{ &hf_hip_tlv_host_di_len,
{ "Domain Identifier Length", "hip.tlv.host_domain_id_length",
- FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
+ FT_UINT16, BASE_DEC, NULL, 0x0FFF, NULL, HFILL }},
{ &hf_hip_tlv_host_id_hdr,
{ "Host Identity flags", "hip.tlv.host_id_hdr",