projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pppd: update to 2.4.8
[openwrt/openwrt.git]
/
package
/
network
/
services
/
ppp
/
patches
/
403-no_wtmp.patch
diff --git
a/package/network/services/ppp/patches/403-no_wtmp.patch
b/package/network/services/ppp/patches/403-no_wtmp.patch
index 811c5faef8166a9f2dba00367a31eb47c8c934f1..537a1b0c7fc0739738935848ec5f7e02250a0a80 100644
(file)
--- a/
package/network/services/ppp/patches/403-no_wtmp.patch
+++ b/
package/network/services/ppp/patches/403-no_wtmp.patch
@@
-7,7
+7,7
@@
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
-@@ -2
271,6 +2271
,7 @@ int ppp_available(void)
+@@ -2
470,6 +2470
,7 @@ int ppp_available(void)
void logwtmp (const char *line, const char *name, const char *host)
{
void logwtmp (const char *line, const char *name, const char *host)
{
@@
-15,7
+15,7
@@
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
struct utmp ut, *utp;
pid_t mypid = getpid();
#if __GLIBC__ < 2
struct utmp ut, *utp;
pid_t mypid = getpid();
#if __GLIBC__ < 2
-@@ -2
336,6 +2337
,7 @@ void logwtmp (const char *line, const ch
+@@ -2
535,6 +2536
,7 @@ void logwtmp (const char *line, const ch
close (wtmp);
}
#endif
close (wtmp);
}
#endif