summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2019-05-13 11:53:18 +0300
committerDmitry Kozlov <xeb@mail.ru>2019-05-13 11:53:18 +0300
commit2b00ef2f1f6ad759b69e8d732e790a9959730a8b (patch)
tree5c864d4c594f00a4a96c58f1757df97236dd1fcb /accel-pppd/ctrl/ipoe
parent85ace14ed9976e98081068fe2e797fcf09e08148 (diff)
downloadaccel-ppp-2b00ef2f1f6ad759b69e8d732e790a9959730a8b.tar.gz
accel-ppp-2b00ef2f1f6ad759b69e8d732e790a9959730a8b.zip
Revert "ipoe: restored max-lease-time functionality"
This reverts commit 6f433706a152ea987899fd830ff399e257b0f2a6.
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 556bad72..6620b401 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -1002,7 +1002,7 @@ static void __ipoe_session_activate(struct ipoe_session *ses)
ses->timer.expire = ipoe_session_timeout;
ses->timer.period = 0;
- ses->timer.expire_tv.tv_sec = conf_lease_time > ses->lease_time ? conf_lease_time : ses->lease_time;
+ ses->timer.expire_tv.tv_sec = ses->lease_time;
if (ses->timer.tpd)
triton_timer_mod(&ses->timer, 0);
}