ppp: bump to 2.4.6
[openwrt/openwrt.git] / package / network / services / ppp / patches / 403-no_wtmp.patch
index 71233200e75c12ed5398d006d56a5ba43aa2d82f..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
-@@ -2254,6 +2254,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
-@@ -2319,6 +2320,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 */