aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sflow.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-27 20:30:38 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-27 20:30:38 +0000
commitc4b63360dca3801edf6b7f0a08e8129021029ecd (patch)
treeddab9db024cfcf58645c84147e59d7cb8d3e5445 /epan/dissectors/packet-sflow.c
parent1b75d2a3f3fa25258362179d340ab55d91c832ad (diff)
Fix proto_tree_add_item( encoding args;
Do whitespace cleanup (for a few files). svn path=/trunk/; revision=39640
Diffstat (limited to 'epan/dissectors/packet-sflow.c')
-rw-r--r--epan/dissectors/packet-sflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sflow.c b/epan/dissectors/packet-sflow.c
index 17797969af..265defc7ef 100644
--- a/epan/dissectors/packet-sflow.c
+++ b/epan/dissectors/packet-sflow.c
@@ -876,11 +876,11 @@ dissect_sflow_245_address_type(tvbuff_t *tvb, proto_tree *tree, gint offset,
switch (addr_type) {
case ADDR_TYPE_IPV4:
len = 4;
- proto_tree_add_item(tree, hf_type->hf_addr_v4, tvb, offset, 4, FALSE);
+ proto_tree_add_item(tree, hf_type->hf_addr_v4, tvb, offset, 4, ENC_BIG_ENDIAN);
break;
case ADDR_TYPE_IPV6:
len = 16;
- proto_tree_add_item(tree, hf_type->hf_addr_v6, tvb, offset, 16, FALSE);
+ proto_tree_add_item(tree, hf_type->hf_addr_v6, tvb, offset, 16, ENC_NA);
break;
default:
/* acferen: November 10, 2010