summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-07-01 19:16:18 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-07-01 19:16:18 +0000
commitc6a22c85329de4ebe1afeda355d2dcdcdba68885 (patch)
treecf9543fd60419a92a5c2edca85e2610f162f164d /etc/rc.newwanip
parent8874c692cce5de453d39e57a44411cf46d911836 (diff)
downloadpfsense-c6a22c85329de4ebe1afeda355d2dcdcdba68885.zip
pfsense-c6a22c85329de4ebe1afeda355d2dcdcdba68885.tar.gz
remove the setup_gateways_monitor() from system_routing_configure() as this causes a filter reload loop when
apinger is reloading. Change apinger to reload instead of killing use setup_gateways_monitor() in rc.bootup and rc.newwanip
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index a37a287..bc3246c 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -125,10 +125,11 @@ if($old_ip <> "")
/* reload slbd */
/* if ($config['load_balancer']['lbpool']['type'] == "gateway") */
-slbd_configure();
log_error("Configuring slbd");
+slbd_configure();
+/* reconfigure our gateway monitor */
+setup_gateways_monitor();
-
-return 0;
+return true;
?>
OpenPOWER on IntegriCloud