aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-loop.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-loop.c
parentf27e3fa74bf641a08e8a17c68bf2393143013bd8 (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-loop.c')
-rw-r--r--epan/dissectors/packet-loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-loop.c b/epan/dissectors/packet-loop.c
index 81907b7bec..de5256a4a6 100644
--- a/epan/dissectors/packet-loop.c
+++ b/epan/dissectors/packet-loop.c
@@ -85,7 +85,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
val_to_str(function, function_vals, "Unknown function (%u)"));
}
if (tree)
- proto_tree_add_text(loop_tree, tvb, offset, 2, "Relevant function:");
+ proto_tree_add_text(loop_tree, tvb, offset, 2, "Relevant function:");
set_info = FALSE;
}
if (tree)
@@ -104,7 +104,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case FUNC_FORWARD_DATA:
if (tree)
proto_tree_add_item(loop_tree, hf_loop_forwarding_address, tvb, offset,
- 6, FALSE);
+ 6, ENC_NA);
offset += 6;
more_function = TRUE;
break;