aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sua.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-04-07 12:20:41 +0000
committerBill Meier <wmeier@newsguy.com>2009-04-07 12:20:41 +0000
commit6f92b028aa08f3c057009646b62b12cedd546bab (patch)
treee82fc19570b29f000a6e925a7b5f0d6c9a6620c2 /epan/dissectors/packet-sua.c
parent3caf5ca19c9908d9ae53cdc0e98ce3e46134b1e5 (diff)
downloadwireshark-6f92b028aa08f3c057009646b62b12cedd546bab.tar.gz
wireshark-6f92b028aa08f3c057009646b62b12cedd546bab.tar.bz2
wireshark-6f92b028aa08f3c057009646b62b12cedd546bab.zip
Use some default true_false_string's.
svn path=/trunk/; revision=27983
Diffstat (limited to 'epan/dissectors/packet-sua.c')
-rw-r--r--epan/dissectors/packet-sua.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/epan/dissectors/packet-sua.c b/epan/dissectors/packet-sua.c
index a4c4cf1e3b..59040e3290 100644
--- a/epan/dissectors/packet-sua.c
+++ b/epan/dissectors/packet-sua.c
@@ -871,11 +871,6 @@ dissect_receive_sequence_number_parameter(tvbuff_t *parameter_tvb, proto_tree *p
#define D_BIT_MASK 0x01
#define RESERVED_BITS_MASK 0xF0
-static const true_false_string sua_supported_bit_value = {
- "Supported",
- "Unsupported"
-};
-
static const value_string interworking_values[] = {
{ 0x0, "No Interworking with SS7 Networks" },
{ 0x1, "IP-Signalling Endpoint interworking with with SS7 networks" },
@@ -2011,10 +2006,10 @@ proto_register_sua(void)
{ &hf_receive_sequence_number_spare_bit, { "Spare Bit", "sua.receive_sequence_number_spare_bit", FT_BOOLEAN, 8, NULL, SPARE_BIT_MASK, "", HFILL } },
{ &hf_asp_capabilities_reserved, { "Reserved", "sua.asp_capabilities_reserved", FT_BYTES, BASE_NONE, NULL, 0x0, "", HFILL } },
{ &hf_asp_capabilities_reserved_bits, { "Reserved Bits", "sua.asp_capabilities_reserved_bits", FT_UINT8, BASE_HEX, NULL, RESERVED_BITS_MASK, "", HFILL } },
- { &hf_asp_capabilities_a_bit, { "Protocol Class 3", "sua.asp_capabilities_a_bit", FT_BOOLEAN, 8, TFS(&sua_supported_bit_value), A_BIT_MASK, "", HFILL } },
- { &hf_asp_capabilities_b_bit, { "Protocol Class 2", "sua.asp_capabilities_b_bit", FT_BOOLEAN, 8, TFS(&sua_supported_bit_value), B_BIT_MASK, "", HFILL } },
- { &hf_asp_capabilities_c_bit, { "Protocol Class 1", "sua.asp_capabilities_c_bit", FT_BOOLEAN, 8, TFS(&sua_supported_bit_value), C_BIT_MASK, "", HFILL } },
- { &hf_asp_capabilities_d_bit, { "Protocol Class 0", "sua.asp_capabilities_d_bit", FT_BOOLEAN, 8, TFS(&sua_supported_bit_value), D_BIT_MASK, "", HFILL } },
+ { &hf_asp_capabilities_a_bit, { "Protocol Class 3", "sua.asp_capabilities_a_bit", FT_BOOLEAN, 8, TFS(&tfs_supported_not_supported), A_BIT_MASK, "", HFILL } },
+ { &hf_asp_capabilities_b_bit, { "Protocol Class 2", "sua.asp_capabilities_b_bit", FT_BOOLEAN, 8, TFS(&tfs_supported_not_supported), B_BIT_MASK, "", HFILL } },
+ { &hf_asp_capabilities_c_bit, { "Protocol Class 1", "sua.asp_capabilities_c_bit", FT_BOOLEAN, 8, TFS(&tfs_supported_not_supported), C_BIT_MASK, "", HFILL } },
+ { &hf_asp_capabilities_d_bit, { "Protocol Class 0", "sua.asp_capabilities_d_bit", FT_BOOLEAN, 8, TFS(&tfs_supported_not_supported), D_BIT_MASK, "", HFILL } },
{ &hf_asp_capabilities_interworking, { "Interworking", "sua.asp_capabilities_interworking", FT_UINT8, BASE_HEX, VALS(interworking_values), 0x0, "", HFILL } },
{ &hf_credit, { "Credit", "sua.credit", FT_UINT32, BASE_DEC, NULL, 0x0, "", HFILL } },
{ &hf_cause, { "Cause", "sua.cause_user_cause", FT_UINT16, BASE_DEC, VALS(cause_values), 0x0, "", HFILL } },