+5
-0
lines changedFilter options
+5
-0
lines changed Original file line number Diff line number Diff line change
@@ -133,6 +133,11 @@ void CRateEstimator::updateInputRate(const time_point& time, int pkts, int bytes
133
133
m_tsInRateStartTime = time;
134
134
return;
135
135
}
136
+
else if (time < m_tsInRateStartTime)
137
+
{
138
+
// Old packets are being submitted for estimation, e.g. during the backup link activation.
139
+
return;
140
+
}
136
141
137
142
m_iInRatePktsCount += pkts;
138
143
m_iInRateBytesCount += bytes;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4