summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-esio.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-esio.c
parent449d732485da5a19b8a0d3ddef49ed30498712ff (diff)
downloadwireshark-794757ae8fbee85db2b24bc46b7e9cc492de01df.tar.gz
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-esio.c')
-rw-r--r--epan/dissectors/packet-esio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-esio.c b/epan/dissectors/packet-esio.c
index a8ea08d914..8500157a3f 100644
--- a/epan/dissectors/packet-esio.c
+++ b/epan/dissectors/packet-esio.c
@@ -83,7 +83,7 @@ static const value_string esio_sts_types[] = {
static gboolean
is_esio_pdu(tvbuff_t *tvb)
{
- /* we need at least 8 bytes to determine whether this is
+ /* we need at least 8 bytes to determine whether this is
Ether-S-I/O or not*/
/* minimal length is 20 bytes*/
if (tvb_length(tvb) < 20) {
@@ -173,7 +173,7 @@ dissect_esio(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* create display subtree for the protocol */
if (tree) {
offset =0;
- ti = proto_tree_add_item(tree, proto_esio, tvb, offset, -1, FALSE);
+ ti = proto_tree_add_item(tree, proto_esio, tvb, offset, -1, ENC_NA);
esio_tree = proto_item_add_subtree(ti, ett_esio);
/*Add subtree for Ether-S-I/O header*/
et = proto_tree_add_text(esio_tree, tvb, offset, 12, "Ether-S-I/O header");