From e61804c362bec5f8bb4d44e235374ee0b8ae0bd8 Mon Sep 17 00:00:00 2001 From: Adrian Simionov Date: Sun, 29 May 2016 11:04:41 +1000 Subject: [PATCH] [docsis->type35ucd] TLV 7 ON OFF Change-Id: I5083346cb03de522d76632eba5ec9cbbf17666ea Reviewed-on: https://code.wireshark.org/review/15603 Reviewed-by: Michael Mann Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- plugins/docsis/packet-type35ucd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/docsis/packet-type35ucd.c b/plugins/docsis/packet-type35ucd.c index d09ab4554d..db1715b102 100644 --- a/plugins/docsis/packet-type35ucd.c +++ b/plugins/docsis/packet-type35ucd.c @@ -270,6 +270,9 @@ static const value_string max_scheduled_codes_vals[] = { {0, NULL} }; +/* Windows does not allow data copy between dlls */ +const true_false_string type35_tfs_on_off = { "On", "Off" }; + /* Dissection */ static int dissect_type35ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_) @@ -956,7 +959,7 @@ proto_register_docsis_type35ucd (void) }, {&hf_docsis_type35ucd_scdma_mode_enable, {"SCDMA Mode Enable", "docsis_type35ucd.scdmaenable", - FT_BYTES, BASE_NONE, NULL, 0x0, + FT_BOOLEAN, BASE_NONE, TFS(&type35_tfs_on_off), 0x0, NULL, HFILL} }, {&hf_docsis_type35ucd_scdma_spreading_interval,