diff options
Diffstat (limited to 'src/bsd/tun.c')
-rw-r--r-- | src/bsd/tun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bsd/tun.c b/src/bsd/tun.c index 31ddd6c..966ac77 100644 --- a/src/bsd/tun.c +++ b/src/bsd/tun.c @@ -336,7 +336,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, end, NULL }; - uanytun_exec("/sbin/ifconfig", argv, NULL); + char* const evp[] = { NULL }; + uanytun_exec("/sbin/ifconfig", argv, evp); free(mtu_str); } |