aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-21 19:30:06 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-21 19:30:06 +0000
commitb96d4e4d2bcb18415e554589c0ca4d5081f69a83 (patch)
tree734d0270fc780a4becc8db55651abe7384f4ad64 /rawshark.c
parentb991ba6e13b6e3468fa352a664a16cb31451c34c (diff)
Move 'Delta timestamp to previous captured frame' calculation inside add_packet_to_packet_list(). This is done in order to streamline add_packet_to_packet_list() with frame_data_init(). Hopefully we can switch to frame_data_init() soon
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30052 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c
index ca61afe0a1..4e8a1911a5 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -121,7 +121,7 @@
*/
static const gchar decode_as_arg_template[] = "<layer_type>==<selector>,<decode_as_protocol>";
-static guint32 cum_bytes = 0;
+static guint32 cum_bytes;
static nstime_t first_ts;
static nstime_t prev_dis_ts;
static nstime_t prev_cap_ts;