summaryrefslogtreecommitdiff
path: root/src/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux')
-rw-r--r--src/linux/tun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux/tun.c b/src/linux/tun.c
index 77f95fe..3fdf817 100644
--- a/src/linux/tun.c
+++ b/src/linux/tun.c
@@ -198,7 +198,8 @@ void tun_do_ifconfig(tun_device_t* dev)
}
char* const argv[] = { "/sbin/ifconfig", dev->actual_name_, dev->net_addr_, "netmask", dev->net_mask_, "mtu", mtu_str, NULL };
- uanytun_exec("/sbin/ifconfig", argv, NULL);
+ char* const evp[] = { NULL };
+ uanytun_exec("/sbin/ifconfig", argv, evp);
free(mtu_str);
}