aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-sebek.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-sebek.c b/epan/dissectors/packet-sebek.c
index 1f3e7a0fe1..959e03c7fd 100644
--- a/epan/dissectors/packet-sebek.c
+++ b/epan/dissectors/packet-sebek.c
@@ -105,7 +105,7 @@ dissect_sebek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_append_fstr(pinfo->cinfo, COL_INFO, " pid(%d)", tvb_get_ntohl(tvb, 20));
col_append_fstr(pinfo->cinfo, COL_INFO, " uid(%d)", tvb_get_ntohl(tvb, 24));
col_append_fstr(pinfo->cinfo, COL_INFO, " fd(%d)", tvb_get_ntohl(tvb, 28));
- col_append_fstr(pinfo->cinfo, COL_INFO, " cmd: %s", tvb_get_string(tvb, 32, 12));
+ col_append_fstr(pinfo->cinfo, COL_INFO, " cmd: %s", tvb_format_text(tvb, 32, 12));
}
@@ -126,10 +126,10 @@ dissect_sebek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(sebek_tree, hf_sebek_counter, tvb, offset, 4, FALSE);
offset += 4;
- ts.secs = tvb_get_ntohl(tvb, offset);
- ts.nsecs = tvb_get_ntohl(tvb, offset+4);
- proto_tree_add_time(sebek_tree, hf_sebek_time, tvb, offset, 8, &ts);
- offset += 8;
+ ts.secs = tvb_get_ntohl(tvb, offset);
+ ts.nsecs = tvb_get_ntohl(tvb, offset+4);
+ proto_tree_add_time(sebek_tree, hf_sebek_time, tvb, offset, 8, &ts);
+ offset += 8;
proto_tree_add_item(sebek_tree, hf_sebek_pid, tvb, offset, 4, FALSE);
offset += 4;