diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-21 04:58:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-21 04:58:00 +0000 |
commit | 02ed6c8f4f98aa615771a3a4596cccf923b8fbd4 (patch) | |
tree | d302ec7450e5dad7a26f42356b6da9052c25bfb1 /etc/inc | |
parent | d394a9c626b42c71b95bd56ed31735ae31afeece (diff) | |
download | pfsense-02ed6c8f4f98aa615771a3a4596cccf923b8fbd4.zip pfsense-02ed6c8f4f98aa615771a3a4596cccf923b8fbd4.tar.gz |
++ advskew before handing it off and then rpc calling for an increase in the value.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 1 | ||||
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index d798710..5ade43c 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2356,7 +2356,6 @@ function carp_sync_client() { 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() */ } if(count($sections) > 0) { carp_sync_xml($synchronizetoip, $carp['password'], $sections, $sections_xml); diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index ae1fe69..fc58c96 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -727,6 +727,9 @@ function backup_vip_config_section() { if($section['mode'] == "proxyarp") { unset($section); } + if($section['advskew'] <> "") { + $section['advskew']++; + } } /* generate configuration XML */ $xmlconfig = dump_xml_config($new_section, "virtualip"); |