diff options
author | Pascal Quantin <pascal@wireshark.org> | 2019-09-25 11:43:45 +0200 |
---|---|---|
committer | Pascal Quantin <pascal@wireshark.org> | 2019-09-25 11:14:10 +0000 |
commit | 1f779bf9c99a75e5ee0dfa709194235175fb809e (patch) | |
tree | 41b672070e00b45b1a6dbbb09c28613e0b459447 /epan/dissectors | |
parent | ef81b3215cab729bb929b6e867dac10addb7de71 (diff) |
NAS EPS: unify spare bits filters
Change-Id: Iedcc6480e1cd0cf2dc0461affd41fffb29daac08
Reviewed-on: https://code.wireshark.org/review/34616
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-nas_eps.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/epan/dissectors/packet-nas_eps.c b/epan/dissectors/packet-nas_eps.c index a7c4e929b3..0d40b722f1 100644 --- a/epan/dissectors/packet-nas_eps.c +++ b/epan/dissectors/packet-nas_eps.c @@ -326,7 +326,6 @@ static int hf_nas_eps_esm_remote_ue_context_list_ue_context_ipv6_prefix = -1; static int hf_nas_eps_esm_pkmf_address_type = -1; static int hf_nas_eps_esm_pkmf_ipv4 = -1; static int hf_nas_eps_esm_pkmf_ipv6 = -1; -static int hf_nas_eps_esm_spare_bit0x80 = -1; static int hf_nas_eps_esm_hdr_comp_config_prof_0104 = -1; static int hf_nas_eps_esm_hdr_comp_config_prof_0103 = -1; static int hf_nas_eps_esm_hdr_comp_config_prof_0102 = -1; @@ -3624,7 +3623,7 @@ de_esm_hdr_compr_config(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 curr_offset = offset; static const int * flags[] = { - &hf_nas_eps_esm_spare_bit0x80, + &hf_nas_eps_spare_b7, &hf_nas_eps_esm_hdr_comp_config_prof_0104, &hf_nas_eps_esm_hdr_comp_config_prof_0103, &hf_nas_eps_esm_hdr_comp_config_prof_0102, @@ -6628,7 +6627,7 @@ proto_register_nas_eps(void) NULL, HFILL } }, { &hf_nas_eps_spare_b7, - { "Spare", "nas_eps.spare.b7", + { "Spare bit(s)", "nas_eps.spare_bits", FT_UINT8, BASE_HEX, NULL, 0x80, NULL, HFILL } }, @@ -7949,11 +7948,6 @@ proto_register_nas_eps(void) FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL } }, - { &hf_nas_eps_esm_spare_bit0x80, - { "Spare bit(s)", "nas_eps.spare_bits", - FT_UINT8, BASE_HEX, NULL, 0x80, - NULL, HFILL } - }, { &hf_nas_eps_esm_hdr_comp_config_prof_0104, { "RoHC profile 0x0104 (IP)", "nas_eps.esm.hdr_comp_config.prof_0104", FT_BOOLEAN, 8, TFS(&tfs_supported_not_supported), 0x40, @@ -8055,7 +8049,7 @@ proto_register_nas_eps(void) NULL, HFILL } }, { &hf_nas_eps_esm_spare_bits0x0100, - { "Spare bit", "nas_eps.spare_bits", + { "Spare bit(s)", "nas_eps.spare_bits", FT_UINT16, BASE_HEX, NULL, 0x0100, NULL, HFILL } }, @@ -8241,8 +8235,8 @@ proto_register_nas_eps(void) NULL, HFILL } }, { &hf_nas_eps_spare_b7_b4, - { "Spare", "nas_eps.spare_b7_b4", - FT_UINT8, BASE_DEC, NULL, 0xf0, + { "Spare bit(s)", "nas_eps.spare_bits", + FT_UINT8, BASE_HEX, NULL, 0xf0, NULL, HFILL } }, }; |