summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ncp.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-ncp.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-ncp.c')
-rw-r--r--epan/dissectors/packet-ncp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ncp.c b/epan/dissectors/packet-ncp.c
index f82be08fe8..b65658dbca 100644
--- a/epan/dissectors/packet-ncp.c
+++ b/epan/dissectors/packet-ncp.c
@@ -340,7 +340,7 @@ dissect_ncp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
ncp_hdr = &header;
- ti = proto_tree_add_item(tree, proto_ncp, tvb, 0, -1, FALSE);
+ ti = proto_tree_add_item(tree, proto_ncp, tvb, 0, -1, ENC_NA);
ncp_tree = proto_item_add_subtree(ti, ett_ncp);
if (is_tcp) {
if (tvb_get_ntohl(tvb, hdr_offset) != NCPIP_RQST && tvb_get_ntohl(tvb, hdr_offset) != NCPIP_RPLY)