summaryrefslogtreecommitdiff
path: root/accel-pppd/radius
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-10-09 17:26:34 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-10-09 17:26:39 +0300
commit2635997039354e3f992f5c2d5d18328794e2c44e (patch)
tree589a9396af29455087255b6e783bea4551b3036c /accel-pppd/radius
parentbe1d17967961af52936d177bb5e426bc2a6b6ef0 (diff)
downloadaccel-ppp-xebd-2635997039354e3f992f5c2d5d18328794e2c44e.tar.gz
accel-ppp-xebd-2635997039354e3f992f5c2d5d18328794e2c44e.zip
ppp: changed behaviour of lcp-echo-timeout
Now, if lcp-echo-timeout is specified this is considered as idle timeout. So if link is idling (no any packet was received) in specified interval accel-ppp starts to send LCP Echo-Request with lcp-echo-interval period. If peer responds to echo request new idle period is being started. If peer does not responds to lcp-echo-failure attempts accel-ppp terminates session with Acct-Terminate-Cause Lost-Carrier. If lcp-echo-timeout is not specified or equals zero accel-ppp works in old behaviour (unconditionally sends LCP Echo-Request with lcp-echo-interval period). This patch intended to prevent unexpected sessions termination due to lcp echo loses.
Diffstat (limited to 'accel-pppd/radius')
0 files changed, 0 insertions, 0 deletions