summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-16 09:57:14 -0500
committerjim-p <jimp@pfsense.org>2010-12-16 09:57:14 -0500
commitb7c38b2ef9ae1806672df79d9f19694067148657 (patch)
treed7cfd433740b28d50f82d7a4edf332acb12e2f05 /etc
parent4d3367b18996f5498aebedbb130e240f3c9e1bdf (diff)
downloadpfsense-b7c38b2ef9ae1806672df79d9f19694067148657.zip
pfsense-b7c38b2ef9ae1806672df79d9f19694067148657.tar.gz
Move IPsec up too, it should always resync.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 97e3916..f6df2e3 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -98,6 +98,9 @@ filter_configure();
/* start OpenVPN server & clients */
openvpn_resync_all($interface);
+/* reconfigure IPsec tunnels */
+vpn_ipsec_force_reload();
+
if (is_ipaddr($oldip) && $curwanip == $oldip)
exit;
@@ -107,9 +110,6 @@ services_dnsupdate_process($interface);
/* signal dyndns update */
services_dyndns_configure($interface);
-/* reconfigure IPsec tunnels */
-vpn_ipsec_force_reload();
-
/* reload graphing functions */
enable_rrd_graphing();
OpenPOWER on IntegriCloud