diff options
-rw-r--r-- | accel-pppd/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c index 247c0d7..f68ce7b 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -360,7 +360,7 @@ int __export ap_session_read_stats(struct ap_session *ses, struct rtnl_link_stat 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) ses->idle_time = _time(); if (stats->rx_bytes < ses->acct_rx_bytes) |