diff options
| author | Dmitry Kozlov <xeb@mail.ru> | 2015-11-24 11:47:43 +0300 |
|---|---|---|
| committer | Dmitry Kozlov <xeb@mail.ru> | 2015-11-24 11:47:43 +0300 |
| commit | 19dc965d29c7ec17929b8713d021b76107fdf557 (patch) | |
| tree | 9cbdb9481c791b840bfdc684bbce6620b61e5818 /accel-pppd/session.c | |
| parent | dd0d5ed51e5351d7be2cbdf86b04965b7bcb136b (diff) | |
| parent | 9b79c7978796c0be8e443863bc277390353e5eaa (diff) | |
| download | accel-ppp-19dc965d29c7ec17929b8713d021b76107fdf557.tar.gz accel-ppp-19dc965d29c7ec17929b8713d021b76107fdf557.zip | |
Merge branch 'master' of /home/dima/Projects/accel-ppp into vlanmon
Diffstat (limited to 'accel-pppd/session.c')
| -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) |
