aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-06-09 10:57:05 +0200
committerAnders Broman <a.broman58@gmail.com>2014-06-09 08:59:20 +0000
commit05fcdc322477517278f7c3ab506eb727f6489843 (patch)
tree6af5f57d4fc4987f2d9a23e0ef3ae512417a35e4 /plugins
parent39ac6f2d02c80ae4100ce0d6cfcf3c5b8c1cc85a (diff)
Windows does not allow data copy between dlls,
declare the true_false_string locally. Change-Id: I5470475164fd649b664e888ced089aec56a45c59 Reviewed-on: https://code.wireshark.org/review/2055 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docsis/packet-mdd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/docsis/packet-mdd.c b/plugins/docsis/packet-mdd.c
index 8dc9295ee3..e5d6e0ff10 100644
--- a/plugins/docsis/packet-mdd.c
+++ b/plugins/docsis/packet-mdd.c
@@ -233,6 +233,9 @@ static const value_string upstream_transmit_power_reporting_vals[] = {
{0, NULL}
};
+/* Windows does not allow data copy between dlls */
+const true_false_string mdd_tfs_on_off = { "On", "Off" };
+
/* Initialize the protocol and registered fields */
static int proto_docsis_mdd = -1;
static int hf_docsis_mdd_ccc = -1;
@@ -733,7 +736,7 @@ void proto_register_docsis_mdd (void)
},
{&hf_docsis_mdd_extended_upstream_transmit_power_support,
{ "Extended Upstream Transmit Power Support", "docsis_mdd.extended_upstream_transmit_power_support",
- FT_BOOLEAN, BASE_NONE, TFS(&tfs_on_off), 0x0,
+ FT_BOOLEAN, BASE_NONE, TFS(&mdd_tfs_on_off), 0x0,
"Mdd Extended Upstream Transmit Power Support", HFILL}
},