diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-12-20 23:22:21 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-12-20 23:22:21 +0000 |
commit | 4455927ca0867a315870c3041610be8ebf1691fa (patch) | |
tree | f1bd3ecebe237784b564e842978d603dd5379ac5 /tap-rtp-common.c | |
parent | c838724fbb02fb933bb55b62a75819809a7dbdb6 (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.c | 1 |
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; |