cstats, rstats - Try to eliminate traffic peaks in graphsToastman-1.28.8509.9
commit5ac2e87f5d454f17ea83cfbbd9d925c030dca4d3
authorM_ars <m_ars@linksysinfo.org>
Tue, 13 Dec 2016 11:07:24 +0000 (13 18:07 +0700)
committerM_ars <m_ars@linksysinfo.org>
Tue, 13 Dec 2016 13:17:38 +0000 (13 20:17 +0700)
tree8ef562696d9d4ae4028857abdc7b665ef6029f8e
parent45c01a68885c72ce55b98dfb4278b711d6f5e230
cstats, rstats - Try to eliminate traffic peaks in graphs

If a rollover AND a reconnect within the last 121 sec (INTERVAL + 1) happend, set diff to 0
this will prevent traffic peaks, for example with ADSL/PPPoE

see https://www.linksysinfo.org/index.php?threads/tomato-toastmans-releases.36106/page-39#post-281722

Thx M_ars
release/src-rt-6.x.4708/router/cstats/cstats.c
release/src-rt-6.x.4708/router/cstats/cstats.h
release/src-rt-6.x.4708/router/rstats/rstats.c
release/src-rt-6.x.4708/router/shared/misc.c