diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-05-15 05:11:18 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-05-15 05:11:18 +0000 |
commit | 4c91a3567a288e2ba9a58eea239d2816a0936b6a (patch) | |
tree | c37a0fe53680886c8fe9945cdbac39427f4b7467 /etc/rc.newwanip | |
parent | 1b30489d0e21043c3c3d331529bba40e9abe7381 (diff) | |
download | pfsense-4c91a3567a288e2ba9a58eea239d2816a0936b6a.zip pfsense-4c91a3567a288e2ba9a58eea239d2816a0936b6a.tar.gz |
Add function to forcefully reload VPN on wan ip change.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 4 |
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 +?> |