diff options
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_bsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 131ab0764..d250c5f29 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -209,7 +209,7 @@ static void initialize_tun(int tun_id) execute_command(0, "ifconfig %s destroy", tun_iface); execute_command(0, "ifconfig %s create", tun_iface); #else - execute_command(0, "ifconfig %s destroy", tun_device); + execute_command(0, "ifconfig %s destroy", tun_iface); #endif tunfd = open(tun_device, O_RDWR | O_NONBLOCK); |
