OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | pppd: Disable wtmp support |
2 | |||
3 | Many uClibc based environments lack wtmp and utmp support, therfore remove |
||
4 | the code updating the wtmp information. |
||
5 | |||
6 | Signed-off-by: Jo-Philipp Wich <jo@mein.io> |
||
7 | |||
8 | --- a/pppd/sys-linux.c |
||
9 | +++ b/pppd/sys-linux.c |
||
3 | office | 10 | @@ -2267,6 +2267,7 @@ int ppp_available(void) |
1 | office | 11 | |
12 | void logwtmp (const char *line, const char *name, const char *host) |
||
13 | { |
||
14 | +#if 0 |
||
15 | struct utmp ut, *utp; |
||
16 | pid_t mypid = getpid(); |
||
17 | #if __GLIBC__ < 2 |
||
3 | office | 18 | @@ -2332,6 +2333,7 @@ void logwtmp (const char *line, const ch |
1 | office | 19 | close (wtmp); |
20 | } |
||
21 | #endif |
||
22 | +#endif |
||
23 | } |
||
24 | #endif /* HAVE_LOGWTMP */ |
||
25 |