diff options
| author | Shiji Yang | 2024-10-04 14:25:52 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2024-10-12 13:53:06 +0000 |
| commit | 8766a92766962f7267bf44851aaacd3588249473 (patch) | |
| tree | 85ad782e1759250e5708479a16f2b1076a03e90b | |
| parent | 3e668c6d02ed637620bde27c66c0bdeedf18f54f (diff) | |
| download | openwrt-8766a92766962f7267bf44851aaacd3588249473.tar.gz | |
ppp: remove uClibc wtmp hack patch
The uClibc library support was removed since commit:
57fe7d5401e3 ("toolchain: remove uClibc install stuff")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16605
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/network/services/ppp/patches/403-no_wtmp.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/package/network/services/ppp/patches/403-no_wtmp.patch b/package/network/services/ppp/patches/403-no_wtmp.patch deleted file mode 100644 index 39d105ff57..0000000000 --- a/package/network/services/ppp/patches/403-no_wtmp.patch +++ /dev/null @@ -1,25 +0,0 @@ -pppd: Disable wtmp support - -Many uClibc based environments lack wtmp and utmp support, therfore remove -the code updating the wtmp information. - -Signed-off-by: Jo-Philipp Wich <jo@mein.io> - ---- a/pppd/sys-linux.c -+++ b/pppd/sys-linux.c -@@ -3033,6 +3033,7 @@ int ppp_check_kernel_support(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 -@@ -3098,6 +3099,7 @@ void logwtmp (const char *line, const ch - close (wtmp); - } - #endif -+#endif - } - #endif /* HAVE_LOGWTMP */ - |