IPv6: Dest/Hop extension header register_info fixup

Fixes 90d9710145.

Change-Id: I334c8b1816e08163fc68970b19586734b8194087
Reviewed-on: https://code.wireshark.org/review/12532
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
João Valverde 2015-12-11 13:36:49 +00:00 committed by Anders Broman
parent 3d3698a671
commit 2ebfa30ffd
1 changed files with 8 additions and 8 deletions

View File

@ -2975,13 +2975,13 @@ proto_register_ipv6(void)
};
static hf_register_info hf_ipv6_hopopts[] = {
{ &hf_ipv6_dstopts_nxt,
{ "Next Header", "ipv6.dstopts.nxt",
{ &hf_ipv6_hopopts_nxt,
{ "Next Header", "ipv6.hopopts.nxt",
FT_UINT8, BASE_DEC | BASE_EXT_STRING, &ipproto_val_ext, 0x0,
NULL, HFILL }
},
{ &hf_ipv6_dstopts_length,
{ "Length", "ipv6.dstopts.length",
{ &hf_ipv6_hopopts_length,
{ "Length", "ipv6.hopopts.length",
FT_UINT8, BASE_DEC, NULL, 0x0,
"Extension Header Length", HFILL }
}
@ -3299,13 +3299,13 @@ proto_register_ipv6(void)
};
static hf_register_info hf_ipv6_dstopts[] = {
{ &hf_ipv6_hopopts_nxt,
{ "Next Header", "ipv6.hopopts.nxt",
{ &hf_ipv6_dstopts_nxt,
{ "Next Header", "ipv6.dstopts.nxt",
FT_UINT8, BASE_DEC | BASE_EXT_STRING, &ipproto_val_ext, 0x0,
NULL, HFILL }
},
{ &hf_ipv6_hopopts_length,
{ "Length", "ipv6.hopopts.length",
{ &hf_ipv6_dstopts_length,
{ "Length", "ipv6.dstopts.length",
FT_UINT8, BASE_DEC, NULL, 0x0,
"Extension Header Length", HFILL }
}