summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-06 20:19:38 +0100
committerErmal <eri@pfsense.org>2014-03-06 20:19:38 +0100
commitf37e37bbddcebdab5145233b871240e0bc577f26 (patch)
treeaa028be7fb7007a3b2fd32e956befd0858f5d3cd /etc
parent9601df8ad5270a1d2001206938609ff53aaf1883 (diff)
downloadpfsense-f37e37bbddcebdab5145233b871240e0bc577f26.zip
pfsense-f37e37bbddcebdab5145233b871240e0bc577f26.tar.gz
Remove not needed anymore function
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