projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[tools] scons: upgrade to 2.3.1
[openwrt.git]
/
ppp
/
patches
/
403-no_wtmp.patch
1
--- a/pppd/sys-linux.c
2
+++ b/pppd/sys-linux.c
3
@@ -2254,6 +2254,7 @@ int ppp_available(void)
4
5
void logwtmp (const char *line, const char *name, const char *host)
6
{
7
+#if 0
8
struct utmp ut, *utp;
9
pid_t mypid = getpid();
10
#if __GLIBC__ < 2
11
@@ -2319,6 +2320,7 @@ void logwtmp (const char *line, const ch
12
close (wtmp);
13
}
14
#endif
15
+#endif
16
}
17
18