aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ax25.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-12-19 20:56:15 -0500
committerMichael Mann <mmann78@netscape.net>2015-12-20 05:06:14 +0000
commite755b311b79276c73ebbcda34df359367400efc8 (patch)
treecf34ed12cb6ee5527a3cccb8cc7572d0fb16fb06 /epan/dissectors/packet-ax25.c
parent7046b4b0840e106a1361f4fda8497eaeafe652dc (diff)
flags_set_truth -> tfs_set_notset
Change-Id: I127f55f4ed26a99facea4d1ecc29786ab4898a75 Reviewed-on: https://code.wireshark.org/review/12735 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ax25.c')
-rw-r--r--epan/dissectors/packet-ax25.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/epan/dissectors/packet-ax25.c b/epan/dissectors/packet-ax25.c
index 6f21f147e9..c9591df9fe 100644
--- a/epan/dissectors/packet-ax25.c
+++ b/epan/dissectors/packet-ax25.c
@@ -285,13 +285,6 @@ capture_ax25( const guchar *pd, int offset, int len, capture_packet_info_t *cpin
void
proto_register_ax25(void)
{
- static const true_false_string flags_set_truth =
- {
- "Set",
- "Not set"
- };
-
-
/* Setup list of header fields */
static hf_register_info hf[] = {
{ &hf_ax25_dst,
@@ -361,12 +354,12 @@ proto_register_ax25(void)
},
{ &hf_ax25_p,
{ "Poll", "ax25.ctl.p",
- FT_BOOLEAN, 8, TFS(&flags_set_truth), XDLC_P_F,
+ FT_BOOLEAN, 8, TFS(&tfs_set_notset), XDLC_P_F,
NULL, HFILL }
},
{ &hf_ax25_f,
{ "Final", "ax25.ctl.f",
- FT_BOOLEAN, 8, TFS(&flags_set_truth), XDLC_P_F,
+ FT_BOOLEAN, 8, TFS(&tfs_set_notset), XDLC_P_F,
NULL, HFILL }
},
{ &hf_ax25_ftype_s,