summaryrefslogtreecommitdiff
path: root/src/bsd/tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bsd/tun.c')
-rw-r--r--src/bsd/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsd/tun.c b/src/bsd/tun.c
index e2736ec..31ddd6c 100644
--- a/src/bsd/tun.c
+++ b/src/bsd/tun.c
@@ -335,7 +335,7 @@ void tun_do_ifconfig(tun_device_t* dev)
return;
}
- char* const argv[] = { dev->actual_name_, dev->net_addr_, "netmask", dev->net_mask_, "mtu", mtu_str, end, NULL };
+ char* const argv[] = { "/sbin/ifconfig", dev->actual_name_, dev->net_addr_, "netmask", dev->net_mask_, "mtu", mtu_str, end, NULL };
uanytun_exec("/sbin/ifconfig", argv, NULL);
free(mtu_str);