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-linx.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-linx.c')
-rw-r--r-- | epan/dissectors/packet-linx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-linx.c b/epan/dissectors/packet-linx.c index 680b8480a0..8d829f2009 100644 --- a/epan/dissectors/packet-linx.c +++ b/epan/dissectors/packet-linx.c @@ -413,8 +413,8 @@ dissect_linx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* MEDIA ADDRESS */ if (size == 6) { /* Most likely ETHERNET */ - proto_tree_add_item(conn_header_tree, hf_linx_conn_dstmac, linx_tvb, offset, 6, FALSE); - proto_tree_add_item(conn_header_tree, hf_linx_conn_srcmac, linx_tvb, offset + 6, 6, FALSE); + proto_tree_add_item(conn_header_tree, hf_linx_conn_dstmac, linx_tvb, offset, 6, ENC_NA); + proto_tree_add_item(conn_header_tree, hf_linx_conn_srcmac, linx_tvb, offset + 6, 6, ENC_NA); } offset += (2*size); |