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-fr.c | |
parent | 3caf5ca19c9908d9ae53cdc0e98ce3e46134b1e5 (diff) |
Use some default true_false_string's.
svn path=/trunk/; revision=27983
Diffstat (limited to 'epan/dissectors/packet-fr.c')
-rw-r--r-- | epan/dissectors/packet-fr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-fr.c b/epan/dissectors/packet-fr.c index 8c851ba0d7..95f22cc8d3 100644 --- a/epan/dissectors/packet-fr.c +++ b/epan/dissectors/packet-fr.c @@ -130,10 +130,6 @@ static dissector_table_t osinl_subdissector_table; static gint fr_encap = FRF_3_2; -static const true_false_string cmd_string = { - "Command", - "Response" - }; static const true_false_string ctrl_string = { "DLCI Address", "Control" @@ -825,7 +821,7 @@ void proto_register_fr(void) "Upper DLCI", "fr.upper_dlci", FT_UINT8, BASE_HEX, NULL, FRELAY_UPPER_DLCI, "Upper bits of DLCI", HFILL }}, { &hf_fr_cr, { - "CR", "fr.cr", FT_BOOLEAN, 8, TFS(&cmd_string), + "CR", "fr.cr", FT_BOOLEAN, 8, TFS(&tfs_command_response), FRELAY_CR, "Command/Response", HFILL }}, { &hf_fr_second_dlci, { "Second DLCI", "fr.second_dlci", FT_UINT8, BASE_HEX, |