summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-hsrp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-20 14:07:54 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-20 14:07:54 +0000
commitd65261d344ba268dd76e533970714649d1bbfb71 (patch)
tree8498849c46a94048de6ad33480a4e0aed549da2b /epan/dissectors/packet-hsrp.c
parentf27e3fa74bf641a08e8a17c68bf2393143013bd8 (diff)
downloadwireshark-d65261d344ba268dd76e533970714649d1bbfb71.tar.gz
Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.
(Some minor whitespace cleanup). svn path=/trunk/; revision=39488
Diffstat (limited to 'epan/dissectors/packet-hsrp.c')
-rw-r--r--epan/dissectors/packet-hsrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hsrp.c b/epan/dissectors/packet-hsrp.c
index f95a03efc5..66b08755cd 100644
--- a/epan/dissectors/packet-hsrp.c
+++ b/epan/dissectors/packet-hsrp.c
@@ -490,7 +490,7 @@ dissect_hsrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset++;
proto_tree_add_item(group_state_tlv, hf_hsrp2_group, tvb, offset, 2, ENC_BIG_ENDIAN);
offset+=2;
- proto_tree_add_item(group_state_tlv, hf_hsrp2_identifier, tvb, offset, 6, FALSE);
+ proto_tree_add_item(group_state_tlv, hf_hsrp2_identifier, tvb, offset, 6, ENC_NA);
offset+=6;
proto_tree_add_item(group_state_tlv, hf_hsrp2_priority, tvb, offset, 4, ENC_BIG_ENDIAN);
offset+=4;