diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-05-15 05:13:18 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-05-15 05:13:18 +0000 |
commit | 8de68a2cd905a3dd1d068cbb002f62abcfe6b157 (patch) | |
tree | d8f2d9945dd5c0f229e29486a1c7708d4e1024f3 | |
parent | ebfdf0cc266fe161f0d865b7a193eab0204e4c80 (diff) | |
download | pfsense-8de68a2cd905a3dd1d068cbb002f62abcfe6b157.zip pfsense-8de68a2cd905a3dd1d068cbb002f62abcfe6b157.tar.gz |
Add a function to forcefully reload VPN on wan ip change.
-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 3f9f2a0..6653d78 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"); @@ -132,4 +132,4 @@ log_error("Configuring slbd"); return 0; -?>
\ No newline at end of file +?> |