Accepting request 185232 from network
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/185232 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=25
This commit is contained in:
commit
f99d869954
13
ppp-send-padt.patch
Normal file
13
ppp-send-padt.patch
Normal 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);
|
||||||
|
}
|
@ -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
|
Fri Mar 1 14:59:29 UTC 2013 - cfarrell@suse.com
|
||||||
|
|
||||||
|
2
ppp.spec
2
ppp.spec
@ -70,6 +70,7 @@ Patch18: ppp-2.4.3-winbind-setuidfix.patch
|
|||||||
Patch19: ppp-2.4.4-strncatfix.patch
|
Patch19: ppp-2.4.4-strncatfix.patch
|
||||||
Patch21: ppp-2.4.4-lib64.patch
|
Patch21: ppp-2.4.4-lib64.patch
|
||||||
Patch22: ppp-2.4.4-var_run_resolv_conf.patch
|
Patch22: ppp-2.4.4-var_run_resolv_conf.patch
|
||||||
|
Patch23: ppp-send-padt.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The ppp package contains the PPP (Point-to-Point Protocol) daemon,
|
The ppp package contains the PPP (Point-to-Point Protocol) daemon,
|
||||||
@ -110,6 +111,7 @@ plugins for the pppd.
|
|||||||
%patch21
|
%patch21
|
||||||
%endif
|
%endif
|
||||||
%patch22
|
%patch22
|
||||||
|
%patch23 -p1
|
||||||
sed -i -e '1s/local\///' scripts/secure-card
|
sed -i -e '1s/local\///' scripts/secure-card
|
||||||
find scripts -type f | xargs chmod a-x
|
find scripts -type f | xargs chmod a-x
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user