aboutsummaryrefslogtreecommitdiffstats
path: root/tap-rtp-common.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-20 23:22:21 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-20 23:22:21 +0000
commit4455927ca0867a315870c3041610be8ebf1691fa (patch)
treef1bd3ecebe237784b564e842978d603dd5379ac5 /tap-rtp-common.c
parentc838724fbb02fb933bb55b62a75819809a7dbdb6 (diff)
Fix for bug 4340:
Reset statistics variable when restart statistics gathering. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31331 f5534014-38df-0310-8fa8-9805f1628bb7
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;