X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d1081654419ce658e89cc61187e6fe1ed05d14b7..c68728567afb53c7e1230b6294d4479a90c11d90:/package/ppp/patches/403-no_wtmp.patch?ds=sidebyside 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