diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-04-07 12:20:41 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-04-07 12:20:41 +0000 |
commit | 6f92b028aa08f3c057009646b62b12cedd546bab (patch) | |
tree | e82fc19570b29f000a6e925a7b5f0d6c9a6620c2 /epan/dissectors/packet-isis-lsp.c | |
parent | 3caf5ca19c9908d9ae53cdc0e98ce3e46134b1e5 (diff) | |
download | wireshark-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-isis-lsp.c')
-rw-r--r-- | epan/dissectors/packet-isis-lsp.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/epan/dissectors/packet-isis-lsp.c b/epan/dissectors/packet-isis-lsp.c index f4867bddee..1f14a7b849 100644 --- a/epan/dissectors/packet-isis-lsp.c +++ b/epan/dissectors/packet-isis-lsp.c @@ -99,16 +99,6 @@ static const value_string isis_lsp_istype_vals[] = { { ISIS_LSP_TYPE_LEVEL_2, "Level 2"}, { 0, NULL } }; -static const true_false_string supported_string = { - "Supported", - "Unsupported" - }; - -static const true_false_string hippity_string = { - "Set", - "Unset" - }; - /* * Predclare dissectors for use in clv dissection. @@ -1978,7 +1968,7 @@ isis_register_lsp(int proto_isis) { { &hf_isis_lsp_p, { "Partition Repair", "isis.lsp.partition_repair", FT_BOOLEAN, 8, - TFS(&supported_string), ISIS_LSP_PARTITION_MASK, + TFS(&tfs_supported_not_supported), ISIS_LSP_PARTITION_MASK, "If set, this router supports the optional Partition Repair function", HFILL }}, { &hf_isis_lsp_att, @@ -1988,7 +1978,7 @@ isis_register_lsp(int proto_isis) { { &hf_isis_lsp_hippity, { "Overload bit", "isis.lsp.overload", FT_BOOLEAN, 8, - TFS(&hippity_string), ISIS_LSP_HIPPITY_MASK, + TFS(&tfs_set_notset), ISIS_LSP_HIPPITY_MASK, "If set, this router will not be used by any decision process to calculate routes", HFILL }}, { &hf_isis_lsp_is_type, |