2011-03-07 10:09:48 +08:00
|
|
|
--- a/pppd/sys-linux.c
|
|
|
|
+++ b/pppd/sys-linux.c
|
2011-07-29 00:51:12 +08:00
|
|
|
@@ -2254,6 +2254,7 @@ int ppp_available(void)
|
2011-03-07 10:09:48 +08:00
|
|
|
|
|
|
|
void logwtmp (const char *line, const char *name, const char *host)
|
|
|
|
{
|
|
|
|
+#if 0
|
|
|
|
struct utmp ut, *utp;
|
|
|
|
pid_t mypid = getpid();
|
|
|
|
#if __GLIBC__ < 2
|
2011-07-29 00:51:12 +08:00
|
|
|
@@ -2319,6 +2320,7 @@ void logwtmp (const char *line, const ch
|
2011-03-07 10:09:48 +08:00
|
|
|
close (wtmp);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
|