0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 05:08:56 +00:00
termux-packages/root-packages/iodine/002-fix-ifconfig-path.patch
2022-04-18 14:31:25 +05:30

13 lines
399 B
Diff

diff -uNr iodine-0.7.0/src/tun.c iodine-0.7.0.mod/src/tun.c
--- iodine-0.7.0/src/tun.c 2014-06-16 23:28:43.000000000 +0300
+++ iodine-0.7.0.mod/src/tun.c 2019-01-20 16:44:23.331442272 +0200
@@ -26,7 +26,7 @@
#include <fcntl.h>
#ifndef IFCONFIGPATH
-#define IFCONFIGPATH "PATH=/sbin:/bin "
+#define IFCONFIGPATH "PATH=@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets "
#endif
#ifdef WINDOWS32