diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-12-11 13:36:49 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-11 22:44:25 +0000 |
commit | 2ebfa30ffd8c5ef76d06f1705cb7e7797bda954a (patch) | |
tree | bbc2dd2aa561f576698e8d3c3c3e2431a8ce85f4 /epan/dissectors/packet-ipv6.c | |
parent | 3d3698a671c8b451fd81975cd3e0951342b9f019 (diff) |
IPv6: Dest/Hop extension header register_info fixup
Fixes 90d971014574da1e5615eff1e588d3fb2f9070d2.
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>
Diffstat (limited to 'epan/dissectors/packet-ipv6.c')
-rw-r--r-- | epan/dissectors/packet-ipv6.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-ipv6.c b/epan/dissectors/packet-ipv6.c index 279328ae9d..ad988153c2 100644 --- a/epan/dissectors/packet-ipv6.c +++ b/epan/dissectors/packet-ipv6.c @@ -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 } } |