aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-l1-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-l1-events.c')
-rw-r--r--epan/dissectors/packet-l1-events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-l1-events.c b/epan/dissectors/packet-l1-events.c
index e44868ea33..43e3d16fec 100644
--- a/epan/dissectors/packet-l1-events.c
+++ b/epan/dissectors/packet-l1-events.c
@@ -75,19 +75,19 @@ dissect_l1_events(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_PROTOCOL, "Layer1");
if (check_col(pinfo->cinfo, COL_DEF_SRC))
- col_set_str(pinfo->cinfo, COL_DEF_SRC,
+ col_set_str(pinfo->cinfo, COL_DEF_SRC,
pinfo->pseudo_header->l1event.uton? "TE" : "NT");
if (check_col(pinfo->cinfo, COL_INFO)) {
len = tvb_find_line_end(tvb, 0,
tvb_ensure_length_remaining(tvb, 0),
&next_offset, FALSE);
- if(len>0)
- col_add_str(pinfo->cinfo, COL_INFO,
+ if(len>0)
+ col_add_str(pinfo->cinfo, COL_INFO,
tvb_format_text(tvb, 0, len));
}
if (tree) {
ti = proto_tree_add_item(tree, proto_l1_events,
- tvb, 0, -1, FALSE);
+ tvb, 0, -1, ENC_NA);
if (data_name)
proto_item_append_text(ti, ": %s", data_name);
subtree = proto_item_add_subtree(ti, ett_l1_events);