0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/root-packages/wpa-supplicant/wpa_ctrl.c.patch

12 lines
464 B
Diff

--- ./src/common/wpa_ctrl.c.orig 2022-05-13 21:55:41.144308316 +0200
+++ ./src/common/wpa_ctrl.c 2022-05-13 21:55:21.340460410 +0200
@@ -78,7 +78,7 @@
#ifdef CONFIG_CTRL_IFACE_UNIX
#ifndef CONFIG_CTRL_IFACE_CLIENT_DIR
-#define CONFIG_CTRL_IFACE_CLIENT_DIR "/tmp"
+#define CONFIG_CTRL_IFACE_CLIENT_DIR "@TERMUX_PREFIX@/tmp"
#endif /* CONFIG_CTRL_IFACE_CLIENT_DIR */
#ifndef CONFIG_CTRL_IFACE_CLIENT_PREFIX
#define CONFIG_CTRL_IFACE_CLIENT_PREFIX "wpa_ctrl_"