IPTraffic: realtime stats gathering fixes
commit7b95ad8c33256927220245597c9dddca8634de65
authorAugusto Bott <augusto@bott.com.br>
Tue, 3 Jan 2012 03:18:41 +0000 (3 01:18 -0200)
committerAugusto Bott <augusto@bott.com.br>
Tue, 3 Jan 2012 03:18:41 +0000 (3 01:18 -0200)
tree8d703551dfc7c2b608a818ed5e15ce0f40158472
parentb04451522fda66787e0db697d678d79d11e397a2
IPTraffic: realtime stats gathering fixes

* less CPU used for gathering stats as we copy conntrack info to a tmpfile first
* also helps improve reliability of the whole thing later on
* missing fclose(conntrack_file) fixed
release/src/router/httpd/bwm.c
release/src/router/httpd/ctnf.c
release/src/router/httpd/tomato.h