diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2012-07-28 13:40:11 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2012-07-28 13:40:11 +0000 |
commit | f4e322cd565ee1959dcce6999cf21ad1a372919e (patch) | |
tree | 393b3818a77af9711726c0bc7a09e14d9fbadfef | |
parent | 857f19c6226e1118d27e8428f1a1bddb4ab9e222 (diff) | |
download | wireshark-f4e322cd565ee1959dcce6999cf21ad1a372919e.tar.gz |
Fix inverted dissection of Pre-emption Capability and Pre-emption Vulnerability
svn path=/trunk/; revision=44091
-rw-r--r-- | epan/dissectors/packet-gtp.c | 8 | ||||
-rw-r--r-- | epan/dissectors/packet-gtpv2.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c index c58252481d..803fe2108b 100644 --- a/epan/dissectors/packet-gtp.c +++ b/epan/dissectors/packet-gtp.c @@ -8584,7 +8584,7 @@ proto_register_gtp(void) }, { &hf_gtp_qos_arp_pci, {"Pre-emption Capability (PCI)", "gtp.qos_arp_pci", - FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), 0x40, + FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x40, NULL, HFILL} }, { &hf_gtp_qos_arp_pl, @@ -8594,7 +8594,7 @@ proto_register_gtp(void) }, { &hf_gtp_qos_arp_pvi, {"Pre-emption Vulnerability (PVI)", "gtp.qos_arp_pvi", - FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), 0x01, + FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x01, NULL, HFILL} }, {&hf_gtp_qos_qci, @@ -8934,7 +8934,7 @@ proto_register_gtp(void) }, {&hf_gtp_earp_pvi, { "PVI Pre-emption Vulnerability", "gtp.EARP_pre_emption_par_vulnerability", - FT_UINT8, BASE_DEC, NULL, 0x01, + FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x01, NULL, HFILL} }, {&hf_gtp_earp_pl, @@ -8944,7 +8944,7 @@ proto_register_gtp(void) }, {&hf_gtp_earp_pci, { "PCI Pre-emption Capability", "gtp.EARP_pre_emption_Capability", - FT_UINT8, BASE_DEC, NULL, 0x40, + FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x40, NULL, HFILL} }, {&hf_gtp_cdr_app, diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c index 41be6a90cc..3b0cfc6f40 100644 --- a/epan/dissectors/packet-gtpv2.c +++ b/epan/dissectors/packet-gtpv2.c @@ -6633,7 +6633,7 @@ void proto_register_gtpv2(void) }, { &hf_gtpv2_arp_pvi, {"Pre-emption Vulnerability (PVI)", "gtpv2.arp_pvi", - FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), 0x01, + FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x01, NULL, HFILL} }, { &hf_gtpv2_arp_pl, @@ -6643,7 +6643,7 @@ void proto_register_gtpv2(void) }, { &hf_gtpv2_arp_pci, {"Pre-emption Capability (PCI)", "gtpv2.arp_pci", - FT_BOOLEAN, 8, TFS(&tfs_enabled_disabled), 0x40, + FT_BOOLEAN, 8, TFS(&tfs_disabled_enabled), 0x40, NULL, HFILL} }, { &hf_gtpv2_mm_context_higher_br_16mb_flg_len, |