1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 21:22:27 +02:00
openwrt-xburst/package/ppp/patches/403-no_wtmp.patch

19 lines
358 B
Diff
Raw Normal View History

--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
@@ -2254,6 +2254,7 @@ int ppp_available(void)
void logwtmp (const char *line, const char *name, const char *host)
{
+#if 0
struct utmp ut, *utp;
pid_t mypid = getpid();
#if __GLIBC__ < 2
@@ -2319,6 +2320,7 @@ void logwtmp (const char *line, const ch
close (wtmp);
}
#endif
+#endif
}