SHA256
1
0
forked from pool/ppp

- ppp-send-padt.patch: Send PADT at the end of a PPPoE session.

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=18
This commit is contained in:
Reinhard Max 2013-07-24 12:57:01 +00:00 committed by Git OBS Bridge
parent de4b742b29
commit 41e209bbc8
3 changed files with 20 additions and 0 deletions

13
ppp-send-padt.patch Normal file
View File

@ -0,0 +1,13 @@
Index: ppp-2.4.5/pppd/plugins/rp-pppoe/plugin.c
===================================================================
--- ppp-2.4.5.orig/pppd/plugins/rp-pppoe/plugin.c 2009-11-16 23:26:07.000000000 +0100
+++ ppp-2.4.5/pppd/plugins/rp-pppoe/plugin.c 2013-07-24 12:36:08.433729757 +0200
@@ -242,7 +242,7 @@
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);
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 24 12:54:01 UTC 2013 - max@suse.com
- ppp-send-padt.patch: Send PADT at the end of a PPPoE session.
-------------------------------------------------------------------
Fri Mar 1 14:59:29 UTC 2013 - cfarrell@suse.com

View File

@ -70,6 +70,7 @@ Patch18: ppp-2.4.3-winbind-setuidfix.patch
Patch19: ppp-2.4.4-strncatfix.patch
Patch21: ppp-2.4.4-lib64.patch
Patch22: ppp-2.4.4-var_run_resolv_conf.patch
Patch23: ppp-send-padt.patch
%description
The ppp package contains the PPP (Point-to-Point Protocol) daemon,
@ -110,6 +111,7 @@ plugins for the pppd.
%patch21
%endif
%patch22
%patch23 -p1
sed -i -e '1s/local\///' scripts/secure-card
find scripts -type f | xargs chmod a-x