]> git.ozlabs.org Git - ppp.git/commit
Send PADT on PPPoE disconnect
authorSimon Farnsworth <simon@farnz.org.uk>
Sun, 1 Mar 2015 11:53:58 +0000 (11:53 +0000)
committerSimon Farnsworth <simon@farnz.org.uk>
Sun, 1 Mar 2015 11:53:58 +0000 (11:53 +0000)
commitcd2c14f998c57bbe6a01dc5854f2763c0d7f31fb
treed22bc43eb37d473a4793f78edb43ab6d96ec2244
parent6e8eaa7a78b31cdab2edf140a9c8afdb02ffaca5
Send PADT on PPPoE disconnect

Once we've terminated the PPP session, there is no chance of a PPP layer
disconnect. Some PPPoE relays don't detect the PPP session going down, and
depend on a long timeout or a PPPoE PADT to terminate the session.

Send a PADT on disconnect to work around these buggy relays.

Signed-off-by: Simon Farnsworth <simon@farnz.org.uk>
pppd/plugins/rp-pppoe/plugin.c