aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tte-pcf.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
commit794757ae8fbee85db2b24bc46b7e9cc492de01df (patch)
treea955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-tte-pcf.c
parent449d732485da5a19b8a0d3ddef49ed30498712ff (diff)
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
Diffstat (limited to 'epan/dissectors/packet-tte-pcf.c')
-rw-r--r--epan/dissectors/packet-tte-pcf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tte-pcf.c b/epan/dissectors/packet-tte-pcf.c
index fb44e6a72b..9a15357630 100644
--- a/epan/dissectors/packet-tte-pcf.c
+++ b/epan/dissectors/packet-tte-pcf.c
@@ -57,7 +57,7 @@ static int hf_tte_pcf_tc = -1;
/* Initialize the subtree pointers */
static gint ett_tte_pcf = -1;
-static const value_string pcf_type_str_vals[] =
+static const value_string pcf_type_str_vals[] =
{ {2, "integration frame"}
, {4, "coldstart frame"}
, {8, "coldstart ack frame"}
@@ -100,7 +100,7 @@ dissect_tte_pcf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* create display subtree for the protocol */
tte_pcf_root_item = proto_tree_add_item(tree, proto_tte_pcf, tvb, 0,
- TTE_PCF_LENGTH, FALSE);
+ TTE_PCF_LENGTH, ENC_NA);
tte_pcf_tree = proto_item_add_subtree(tte_pcf_root_item, ett_tte_pcf);