aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/403-no_wtmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/ppp/patches/403-no_wtmp.patch')
-rw-r--r--package/network/services/ppp/patches/403-no_wtmp.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/ppp/patches/403-no_wtmp.patch b/package/network/services/ppp/patches/403-no_wtmp.patch
index 822bd9e3b7..811c5faef8 100644
--- 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
-@@ -2264,6 +2264,7 @@ int ppp_available(void)
+@@ -2271,6 +2271,7 @@ int ppp_available(void)
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
-@@ -2329,6 +2330,7 @@ void logwtmp (const char *line, const ch
+@@ -2336,6 +2337,7 @@ void logwtmp (const char *line, const ch
close (wtmp);
}
#endif