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-redback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-redback.c') diff --git a/epan/dissectors/packet-redback.c b/epan/dissectors/packet-redback.c index 5b1c106447..acb87ec9bc 100644 --- a/epan/dissectors/packet-redback.c +++ b/epan/dissectors/packet-redback.c @@ -69,7 +69,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) l3off = tvb_get_ntohs(tvb, 22); if (tree) { - ti = proto_tree_add_item(tree, proto_redback, tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree, proto_redback, tvb, 0, -1, ENC_NA); rbtree = proto_item_add_subtree(ti, ett_redback); proto_tree_add_item(rbtree, hf_redback_context, tvb, 0, 4, ENC_BIG_ENDIAN); @@ -105,7 +105,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case 0x02: /* * This is ISIS - Either incoming with ethernet FCS - * and CLNP - passed to the eth dissector or in case + * and CLNP - passed to the eth dissector or in case * of outgoing its pure ISIS and the linecard attaches * the ethernet and CLNP headers ... * -- cgit v1.2.3