Add a function to forcefully reload VPN on wan ip change.

This commit is contained in:
Seth Mos 2007-05-15 05:13:18 +00:00
parent ebfdf0cc26
commit 8de68a2cd9

View File

@ -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");
@ -132,4 +132,4 @@ log_error("Configuring slbd");
return 0;
?>
?>