Skip to content
Snippets Groups Projects
Commit 929559c9 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 44097
parent 18d4b878
No related branches found
No related tags found
No related merge requests found
--- 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);
close(conn->sessionSocket);
- /* don't send PADT?? */
+ sendPADT(conn, NULL);
if (conn->discoverySocket >= 0)
close(conn->discoverySocket);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment