ppp: update to version 2.4.7
[openwrt/staging/dedeckeh.git] / package / network / services / ppp / patches / 403-no_wtmp.patch
index 60e1272d3bb4a421251e2565f3f865c314089b09..3c7889457033250cc73771697c46f3a87525dc22 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
-@@ -2259,6 +2259,7 @@ int ppp_available(void)
+@@ -2267,6 +2267,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
-@@ -2324,6 +2325,7 @@ void logwtmp (const char *line, const ch
+@@ -2332,6 +2333,7 @@ void logwtmp (const char *line, const ch
        close (wtmp);
      }
  #endif
 +#endif
  }
+ #endif /* HAVE_LOGWTMP */