mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 07:43:09 +02:00
79c8117684
Bump to the current version of PPP. A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed. 1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP. Redux: re-instate the commenting out of the exponential back-off as requested by Felix. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27818 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
305 B
Diff
13 lines
305 B
Diff
--- a/pppd/main.c
|
|
+++ b/pppd/main.c
|
|
@@ -773,8 +773,7 @@ detach()
|
|
/* update pid files if they have been written already */
|
|
if (pidfilename[0])
|
|
create_pidfile(pid);
|
|
- if (linkpidfile[0])
|
|
- create_linkpidfile(pid);
|
|
+ create_linkpidfile(pid);
|
|
exit(0); /* parent dies */
|
|
}
|
|
setsid();
|