summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-10 23:42:56 +0000
committerErmal <eri@pfsense.org>2010-12-10 23:44:12 +0000
commit2c6b0d67b439623dbeca5bec6c4a5660822a7b41 (patch)
tree88977a17baf5685e9e6f119b2b116e14db401482 /etc/rc.newwanip
parent6d8ff5e97b796edf86d956d109e7c03886a748a5 (diff)
downloadpfsense-2c6b0d67b439623dbeca5bec6c4a5660822a7b41.zip
pfsense-2c6b0d67b439623dbeca5bec6c4a5660822a7b41.tar.gz
Call a filter reload even though the ip might not have changed. This makes the gateway pools work after an interface comes up again.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip9
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 58da7fa..4735994 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -92,6 +92,9 @@ system_routing_configure($interface);
/* reconfigure our gateway monitor */
setup_gateways_monitor();
+/* signal filter reload */
+filter_configure();
+
if (is_ipaddr($oldip) && $curwanip == $oldip)
exit;
@@ -107,10 +110,6 @@ vpn_ipsec_force_reload();
/* start OpenVPN server & clients */
openvpn_resync_all($interface);
-/* signal filter reload */
-unlink_if_exists("/tmp/config.cache");
-filter_configure();
-
/* reload graphing functions */
enable_rrd_graphing();
@@ -119,4 +118,4 @@ mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh");
mwexec_bg("/etc/rc.start_packages");
log_error("{$g['product_name']} package system has detected an ip change $oldip -> $curwanip ... Restarting packages.");
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud