Commit f5017f57 authored by nbd's avatar nbd
Browse files

ppp: on PPPoE, always send PADT when shutting down the connection

Signed-off-by: default avatarFelix Fietkau <>

git-svn-id: svn:// 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent d9f49658
--- a/pppd/plugins/rp-pppoe/plugin.c
+++ b/pppd/plugins/rp-pppoe/plugin.c
@@ -276,7 +276,7 @@ PPPOEDisconnectDevice(void)
sizeof(struct sockaddr_pppox)) < 0)
error("Failed to disconnect PPPoE socket: %d %m", errno);
- /* don't send PADT?? */
+ sendPADT(conn, NULL);
if (conn->discoverySocket >= 0)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment