summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-21 01:52:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-21 01:52:23 +0000
commitbbb500ebc9e2e094d4eaebd017c6391862a2597d (patch)
tree8324ddf72cdbc73980e559be274523404597e53c /etc
parentbcf0e3cc6f2089803774886bf08864ee1b4f44e0 (diff)
downloadpfsense-bbb500ebc9e2e094d4eaebd017c6391862a2597d.zip
pfsense-bbb500ebc9e2e094d4eaebd017c6391862a2597d.tar.gz
Sync Static Routes
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index a683ac8..d798710 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2349,7 +2349,11 @@ function carp_sync_client() {
$sections_xml[] = new XML_RPC_Value(backup_config_section("shaper"), 'string');
$sections[] = new XML_RPC_Value('shaper', 'string');
}
- if($carp['virtualip'] != "" and is_array($config['virtualip'])) {
+ if($carp['synchronizestaticroutes'] != "" and is_array($config['staticroutes'])) {
+ $sections_xml[] = new XML_RPC_Value(backup_config_section("staticroutes"), 'string');
+ $sections[] = new XML_RPC_Value('staticroutes', 'string');
+ }
+ if($carp['synchronizevirtualip'] != "" and is_array($config['virtualip'])) {
$sections_xml[] = new XML_RPC_Value(backup_vip_config_section(), 'string');
$sections[] = new XML_RPC_Value('virtualip', 'string');
/* XXX/TODO: call remote end +1 after_sync_bump_adv_skew() */
OpenPOWER on IntegriCloud