diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-21 01:52:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-21 01:52:23 +0000 |
commit | bbb500ebc9e2e094d4eaebd017c6391862a2597d (patch) | |
tree | 8324ddf72cdbc73980e559be274523404597e53c /etc | |
parent | bcf0e3cc6f2089803774886bf08864ee1b4f44e0 (diff) | |
download | pfsense-bbb500ebc9e2e094d4eaebd017c6391862a2597d.zip pfsense-bbb500ebc9e2e094d4eaebd017c6391862a2597d.tar.gz |
Sync Static Routes
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 6 |
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() */ |