aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nfsacl.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-08 22:55:22 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-08 22:55:22 +0000
commit82bc394558b952ee1fe5fc02c414db730c4a3efe (patch)
tree79cf85746b7037434f35f84b9dd1fab3ea0a226e /epan/dissectors/packet-nfsacl.c
parent09ac9a7d4b5c19b393a8223639dc7f53dc49abe0 (diff)
The convention is to use TFS(...) when specifying a true_false_string with an FT_BOOLEAN field;
Also: use the global true_false_string tfs_yes_no in place of a static local string. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28321 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nfsacl.c')
-rw-r--r--epan/dissectors/packet-nfsacl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-nfsacl.c b/epan/dissectors/packet-nfsacl.c
index f859c4eb13..f2b3be7182 100644
--- a/epan/dissectors/packet-nfsacl.c
+++ b/epan/dissectors/packet-nfsacl.c
@@ -550,8 +550,6 @@ static const value_string nfsacl3_proc_vals[] = {
{ 0, NULL }
};
-static struct true_false_string yesno = { "Yes", "No" };
-
void
proto_register_nfsacl(void)
{
@@ -590,7 +588,7 @@ proto_register_nfsacl(void)
/* V2 */
{ &hf_nfsacl_create, {
"create", "nfsacl.create", FT_BOOLEAN, BASE_NONE,
- &yesno, 0, "Create?", HFILL }},
+ TFS(&tfs_yes_no), 0, "Create?", HFILL }},
};
static gint *ett[] = {