summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.bootup1
-rwxr-xr-xetc/rc.newipsecdns7
2 files changed, 0 insertions, 8 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 0f25668..612ff22 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -441,7 +441,6 @@ unset($g['booting']);
/* If there are ipsec dynamic hosts try again to reload the tunnels as rc.newipsecdns does */
if ($ipsec_dynamic_hosts) {
- vpn_ipsec_refresh_policies();
vpn_ipsec_configure();
filter_configure();
}
diff --git a/etc/rc.newipsecdns b/etc/rc.newipsecdns
index de3d7ac..854c8d7 100755
--- a/etc/rc.newipsecdns
+++ b/etc/rc.newipsecdns
@@ -52,13 +52,6 @@ if (isset($config['ipsec']['enable'])) {
$ipseclck = lock('ipsecdns', LOCK_EX);
-/* We will walk the list of hostnames found in the ipsec tunnel
- * configuration. Since we are already triggered by filterdns
- * that a hostname has changed we can proceed to compare the
- * new IP address with the old address from the DNS cache.
- */
-vpn_ipsec_refresh_policies();
-
vpn_ipsec_configure();
if (isset($config['ipsec']['failoverforcereload']))
OpenPOWER on IntegriCloud