diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-13 17:57:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-13 17:57:04 +0000 |
commit | 9ff155f00e90ea2a5ca0f2150fd6351215d7abc5 (patch) | |
tree | 8945a2c1122554cbc40ab44e4728e07b02f3028a /etc/inc | |
parent | b385831dda7f7f924544413f885f8d5b1958644f (diff) | |
download | pfsense-9ff155f00e90ea2a5ca0f2150fd6351215d7abc5.zip pfsense-9ff155f00e90ea2a5ca0f2150fd6351215d7abc5.tar.gz |
If no port is passed, default to 80
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 48ee6f6..b18f8f7 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2337,7 +2337,7 @@ function process_carp_rules() { return $lines; } -function carp_sync_xml($url, $password, $section, $section_xml, $method = 'pfsense.restore_config_section', $port) { +function carp_sync_xml($url, $password, $section, $section_xml, $method = 'pfsense.restore_config_section', $port = "80") { global $config; $params = array(new XML_RPC_Value($password, 'string'), new XML_RPC_Value($section, 'array'), @@ -2448,4 +2448,4 @@ function return_vpn_subnet($adr) { return " # error - {$adr['network']} "; } -?> +?>
\ No newline at end of file |