aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nlsp.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-nlsp.c
parent3caf5ca19c9908d9ae53cdc0e98ce3e46134b1e5 (diff)
Use some default true_false_string's.
svn path=/trunk/; revision=27983
Diffstat (limited to 'epan/dissectors/packet-nlsp.c')
-rw-r--r--epan/dissectors/packet-nlsp.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/epan/dissectors/packet-nlsp.c b/epan/dissectors/packet-nlsp.c
index 26d0729c5b..b5a423854c 100644
--- a/epan/dissectors/packet-nlsp.c
+++ b/epan/dissectors/packet-nlsp.c
@@ -112,11 +112,6 @@ static const value_string nlsp_router_type_vals[] = {
{ 0, NULL}
};
-static const true_false_string supported_string = {
- "Supported",
- "Unsupported"
-};
-
/*
* Our sub-packet dismantle structure for CLV's
*/
@@ -1579,7 +1574,7 @@ proto_register_nlsp(void)
{ &hf_nlsp_hello_multicast,
{ "Multicast Routing", "nlsp.hello.multicast", FT_BOOLEAN, 8,
- TFS(&supported_string), NLSP_HELLO_MULTICAST_MASK,
+ TFS(&tfs_supported_not_supported), NLSP_HELLO_MULTICAST_MASK,
"If set, this router supports multicast routing", HFILL }},
{ &hf_nlsp_hello_circuit_type,
@@ -1606,7 +1601,7 @@ proto_register_nlsp(void)
{ &hf_nlsp_lsp_p,
{ "Partition Repair", "nlsp.lsp.partition_repair", FT_BOOLEAN, 8,
- TFS(&supported_string), NLSP_LSP_PARTITION_MASK,
+ TFS(&tfs_supported_not_supported), NLSP_LSP_PARTITION_MASK,
"If set, this router supports the optional Partition Repair function", HFILL }},
{ &hf_nlsp_lsp_attached_flag,