summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.newwanip4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 75f7869..224c48d 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -81,7 +81,7 @@ if($old_ip) {
}
/* reconfigure IPsec tunnels */
-vpn_ipsec_configure(true);
+vpn_ipsec_force_reload();
/* start OpenVPN server & clients */
exec("killall -HUP openvpn 2>/dev/null");
@@ -131,4 +131,4 @@ log_error("Configuring slbd");
return 0;
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud