projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppp: update to version 2.4.7.git-2019-10-04
[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 00c3dafdcd113af64fd786203763a66defe680a0..811c5faef8166a9f2dba00367a31eb47c8c934f1 100644
(file)
--- a/
package/network/services/ppp/patches/403-no_wtmp.patch
+++ b/
package/network/services/ppp/patches/403-no_wtmp.patch
@@
-3,11
+3,11
@@
pppd: Disable wtmp support
Many uClibc based environments lack wtmp and utmp support, therfore remove
the code updating the wtmp information.
Many uClibc based environments lack wtmp and utmp support, therfore remove
the code updating the wtmp information.
-Signed-off-by: Jo-Philipp Wich <jo
w@openwrt.org
>
+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
-@@ -22
59,6 +2259
,7 @@ int ppp_available(void)
+@@ -22
71,6 +2271
,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 <jow@openwrt.org>
struct utmp ut, *utp;
pid_t mypid = getpid();
#if __GLIBC__ < 2
struct utmp ut, *utp;
pid_t mypid = getpid();
#if __GLIBC__ < 2
-@@ -23
24,6 +2325
,7 @@ void logwtmp (const char *line, const ch
+@@ -23
36,6 +2337
,7 @@ void logwtmp (const char *line, const ch
close (wtmp);
}
#endif
close (wtmp);
}
#endif