From 794757ae8fbee85db2b24bc46b7e9cc492de01df Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Fri, 21 Oct 2011 02:10:19 +0000 Subject: 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 --- epan/dissectors/packet-netdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-netdump.c') diff --git a/epan/dissectors/packet-netdump.c b/epan/dissectors/packet-netdump.c index ddef3c2ab8..ab70ea2af6 100644 --- a/epan/dissectors/packet-netdump.c +++ b/epan/dissectors/packet-netdump.c @@ -1,6 +1,6 @@ /* packet-netdump.c * Routines for Netdump dissection - * Copyright 2009, Neil Horman + * Copyright 2009, Neil Horman * * $Id$ * @@ -104,7 +104,7 @@ dissect_netdump(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { /* we are being asked for details */ proto_item *ti = NULL; proto_tree *netdump_tree = NULL; - ti = proto_tree_add_item(tree, proto_netdump, tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree, proto_netdump, tvb, 0, -1, ENC_NA); netdump_tree = proto_item_add_subtree(ti, ett_netdump); if (tvb_reported_length(tvb) == 24) { /* Its a request format packet */ -- cgit v1.2.3