summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-15 05:13:18 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-15 05:13:18 +0000
commit8de68a2cd905a3dd1d068cbb002f62abcfe6b157 (patch)
treed8f2d9945dd5c0f229e29486a1c7708d4e1024f3 /etc/rc.newwanip
parentebfdf0cc266fe161f0d865b7a193eab0204e4c80 (diff)
downloadpfsense-8de68a2cd905a3dd1d068cbb002f62abcfe6b157.zip
pfsense-8de68a2cd905a3dd1d068cbb002f62abcfe6b157.tar.gz
Add a function to forcefully reload VPN on wan ip change.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip4
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
+?>
OpenPOWER on IntegriCloud