aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fr.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-07 12:20:41 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-07 12:20:41 +0000
commitb8b48c3946dcfc1c0c115bdde120c07c7d960f53 (patch)
treee82fc19570b29f000a6e925a7b5f0d6c9a6620c2 /epan/dissectors/packet-fr.c
parent2be717c57814771c8797cc90ce713eec623e2e4b (diff)
Use some default true_false_string's.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27983 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fr.c')
-rw-r--r--epan/dissectors/packet-fr.c6
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,