diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index ec038f82..ad7b6e9c 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -5649,8 +5649,8 @@ netsh_ifconfig(const struct tuntap_options *to, } else { - /* example: netsh interface ip set address 42 static 10.3.0.1 255.255.255.0 */ - argv_printf(&argv, "%s%s interface ip set address %lu static %s %s", + /* example: netsh interface ip set address 42 static 10.3.0.1 255.255.255.0 store=active */ + argv_printf(&argv, "%s%s interface ip set address %lu static %s %s store=active", get_win_sys_path(), NETSH_PATH_SUFFIX, adapter_index,