Побочных эффектов не обнаружено.
Code: Select all
--- a/accel-pppd/session.c.orig 2015-11-05 11:54:11.000000000 +0300
+++ b/accel-pppd/session.c 2015-11-05 11:56:30.980936533 +0300
@@ -351,7 +351,8 @@
stats->rx_bytes -= ses->acct_rx_bytes_i;
stats->tx_bytes -= ses->acct_tx_bytes_i;
- if (stats->rx_bytes != ses->acct_rx_bytes || stats->tx_bytes != ses->acct_tx_bytes)
+// if (stats->rx_bytes != ses->acct_rx_bytes || stats->tx_bytes != ses->acct_tx_bytes)
+ if (stats->rx_bytes != ses->acct_rx_bytes)
ses->idle_time = _time();
if (stats->rx_bytes < ses->acct_rx_bytes)