1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 10:56:46 +02:00
openwrt-xburst/package/ppp/patches/403-no_wtmp.patch
nbd d108165441 ppp: add a few patches to reduce the package size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 02:09:48 +00:00

19 lines
358 B
Diff

--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
@@ -2237,6 +2237,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
@@ -2302,6 +2303,7 @@ void logwtmp (const char *line, const ch
close (wtmp);
}
#endif
+#endif
}