ppp: bump to 2.4.6
[openwrt/openwrt.git] / package / network / services / ppp / patches / 403-no_wtmp.patch
index e8e76252c01d7ace72159b265498e5ad61b79bf3..00c3dafdcd113af64fd786203763a66defe680a0 100644 (file)
@@ -7,7 +7,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
 
 --- a/pppd/sys-linux.c
 +++ b/pppd/sys-linux.c
-@@ -2266,6 +2266,7 @@ int ppp_available(void)
+@@ -2259,6 +2259,7 @@ int ppp_available(void)
  
  void logwtmp (const char *line, const char *name, const char *host)
  {
@@ -15,11 +15,11 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
      struct utmp ut, *utp;
      pid_t  mypid = getpid();
  #if __GLIBC__ < 2
-@@ -2331,6 +2332,7 @@ void logwtmp (const char *line, const ch
+@@ -2324,6 +2325,7 @@ void logwtmp (const char *line, const ch
        close (wtmp);
      }
  #endif
 +#endif
  }
+ #endif /* HAVE_LOGWTMP */