aboutsummaryrefslogtreecommitdiffstats
path: root/tap-rtp-common.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-12-20 23:22:21 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-12-20 23:22:21 +0000
commitb6aba18c1379b089bff6e6b7c2b1b021171ff557 (patch)
treef1bd3ecebe237784b564e842978d603dd5379ac5 /tap-rtp-common.c
parentec5cd4d45092250e1bfa37fd575e2551c2d36817 (diff)
Fix for bug 4340:
Reset statistics variable when restart statistics gathering. svn path=/trunk/; revision=31331
Diffstat (limited to 'tap-rtp-common.c')
-rw-r--r--tap-rtp-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tap-rtp-common.c b/tap-rtp-common.c
index ddc553d5df..dd551fe2b4 100644
--- a/tap-rtp-common.c
+++ b/tap-rtp-common.c
@@ -459,6 +459,7 @@ int rtp_packet_analyse(tap_rtp_stat_t *statinfo,
statinfo->timestamp = rtpinfo->info_timestamp;
statinfo->first_timestamp = rtpinfo->info_timestamp;
statinfo->time = current_time;
+ statinfo->lastnominaltime = 0;
statinfo->pt = rtpinfo->info_payload_type;
statinfo->reg_pt = rtpinfo->info_payload_type;
statinfo->bw_history[statinfo->bw_index].bytes = rtpinfo->info_data_len + 28;