530-pppoe_send_padt.patch 382 B

1234567891011
  1. --- a/pppd/plugins/rp-pppoe/plugin.c
  2. +++ b/pppd/plugins/rp-pppoe/plugin.c
  3. @@ -275,7 +275,7 @@ PPPOEDisconnectDevice(void)
  4. sizeof(struct sockaddr_pppox)) < 0)
  5. error("Failed to disconnect PPPoE socket: %d %m", errno);
  6. close(conn->sessionSocket);
  7. - /* don't send PADT?? */
  8. + sendPADT(conn, NULL);
  9. if (conn->discoverySocket >= 0)
  10. close(conn->discoverySocket);
  11. }