summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-11 13:44:42 -0400
committerjim-p <jimp@pfsense.org>2010-06-11 13:45:20 -0400
commitfefa5621742189ff75b6fdf640a0aa1c2687e2ab (patch)
treed5bc3eb31e15cf180d0b407abbefca21f5eff49b /etc
parent51e72bf52e28e49d3f29acd17c25081b76087121 (diff)
downloadpfsense-fefa5621742189ff75b6fdf640a0aa1c2687e2ab.zip
pfsense-fefa5621742189ff75b6fdf640a0aa1c2687e2ab.tar.gz
Sync gateways if we sync routing.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.filter_synchronize4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index 910f55d..e29bfb1 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -247,8 +247,10 @@ if (is_array($config['installedpackages']['carpsettings']['config'])) {
$sections[] = 'wol';
if ($carp['synchronizetrafficshaper'] != "" and is_array($config['shaper']))
$sections[] = 'shaper';
- if ($carp['synchronizestaticroutes'] != "" and is_array($config['staticroutes']))
+ if ($carp['synchronizestaticroutes'] != "" and is_array($config['staticroutes'])) {
$sections[] = 'staticroutes';
+ $sections[] = 'gateways';
+ }
if ($carp['synchronizevirtualip'] != "" and is_array($config['virtualip']))
$sections[] = 'virtualip';
if ($carp['synchronizelb'] != "" and is_array($config['load_balancer']))
OpenPOWER on IntegriCloud