aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2020-11-07 14:29:43 +0000
committerMartin Mathieson <martin.mathieson@keysight.com>2020-11-07 14:29:43 +0000
commit50dcb5d6f4990cafbcd8b60c993feffb593c4084 (patch)
tree68789a99d5b8bd1767d5e84f221801f0c6e60a6b
parentb65ff23d6b369fa79454f1f13f95f0967daa412b (diff)
Fix some more item lengths.
-rw-r--r--epan/dissectors/packet-hsrp.c6
-rw-r--r--epan/dissectors/packet-u3v.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-hsrp.c b/epan/dissectors/packet-hsrp.c
index b4978f47e9..5d18bb1231 100644
--- a/epan/dissectors/packet-hsrp.c
+++ b/epan/dissectors/packet-hsrp.c
@@ -679,12 +679,12 @@ void proto_register_hsrp(void)
{ &hf_hsrp_adv_activegrp,
{ "Adv active groups", "hsrp.adv.activegrp",
- FT_UINT8, BASE_DEC, NULL, 0x0,
+ FT_UINT16, BASE_DEC, NULL, 0x0,
"Advertisement active group count", HFILL }},
{ &hf_hsrp_adv_passivegrp,
{ "Adv passive groups", "hsrp.adv.passivegrp",
- FT_UINT8, BASE_DEC, NULL, 0x0,
+ FT_UINT16, BASE_DEC, NULL, 0x0,
"Advertisement passive group count", HFILL }},
{ &hf_hsrp_adv_reserved2,
@@ -794,7 +794,7 @@ void proto_register_hsrp(void)
{ &hf_hsrp2_md5_flags,
{ "MD5 Flags", "hsrp2.md5_flags",
- FT_UINT8, BASE_DEC, NULL, 0x0,
+ FT_UINT16, BASE_DEC, NULL, 0x0,
"Undefined", HFILL }},
{ &hf_hsrp2_md5_ip_address,
diff --git a/epan/dissectors/packet-u3v.c b/epan/dissectors/packet-u3v.c
index 8428b20aa9..afdbcfcbb3 100644
--- a/epan/dissectors/packet-u3v.c
+++ b/epan/dissectors/packet-u3v.c
@@ -2110,7 +2110,7 @@ static hf_register_info hf[] =
/* Common U3V data */
{ &hf_u3v_gencp_prefix,
{ "Prefix", "u3v.gencp.prefix",
- FT_UINT8, BASE_HEX, NULL, 0x0,
+ FT_UINT32, BASE_HEX, NULL, 0x0,
"U3V GenCP Prefix", HFILL
} },