diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-20 14:07:54 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-20 14:07:54 +0000 |
commit | d65261d344ba268dd76e533970714649d1bbfb71 (patch) | |
tree | 8498849c46a94048de6ad33480a4e0aed549da2b /epan/dissectors/packet-ancp.c | |
parent | f27e3fa74bf641a08e8a17c68bf2393143013bd8 (diff) |
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-ancp.c')
-rw-r--r-- | epan/dissectors/packet-ancp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ancp.c b/epan/dissectors/packet-ancp.c index 367b87cb5f..d025655f1d 100644 --- a/epan/dissectors/packet-ancp.c +++ b/epan/dissectors/packet-ancp.c @@ -463,10 +463,10 @@ dissect_ancp_adj_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ancp_tree, col_append_fstr(pinfo->cinfo, COL_INFO, " (%s)", val_to_str(adjcode, adj_code_names, "Unknown (0x%02x)")); - proto_tree_add_item(ancp_tree, hf_ancp_sender_name, tvb, offset, 6, FALSE); + proto_tree_add_item(ancp_tree, hf_ancp_sender_name, tvb, offset, 6, ENC_NA); offset += 6; - proto_tree_add_item(ancp_tree, hf_ancp_receiver_name, tvb,offset, 6, FALSE); + proto_tree_add_item(ancp_tree, hf_ancp_receiver_name, tvb,offset, 6, ENC_NA); offset += 6; proto_tree_add_item(ancp_tree, hf_ancp_sender_port, tvb, offset, 4, ENC_BIG_ENDIAN); |