X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d1081654419ce658e89cc61187e6fe1ed05d14b7..502d6255c81bbbfa76c6fc153d2c57351ee85d32:/package/ppp/patches/403-no_wtmp.patch diff --git a/package/ppp/patches/403-no_wtmp.patch b/package/ppp/patches/403-no_wtmp.patch index c3e9c7b61..018bd5b2a 100644 --- a/package/ppp/patches/403-no_wtmp.patch +++ b/package/ppp/patches/403-no_wtmp.patch @@ -1,6 +1,6 @@ --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c -@@ -2237,6 +2237,7 @@ int ppp_available(void) +@@ -2254,6 +2254,7 @@ int ppp_available(void) void logwtmp (const char *line, const char *name, const char *host) { @@ -8,7 +8,7 @@ struct utmp ut, *utp; pid_t mypid = getpid(); #if __GLIBC__ < 2 -@@ -2302,6 +2303,7 @@ void logwtmp (const char *line, const ch +@@ -2319,6 +2320,7 @@ void logwtmp (const char *line, const ch close (wtmp); } #endif