summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-13 17:57:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-13 17:57:04 +0000
commit9ff155f00e90ea2a5ca0f2150fd6351215d7abc5 (patch)
tree8945a2c1122554cbc40ab44e4728e07b02f3028a /etc/inc
parentb385831dda7f7f924544413f885f8d5b1958644f (diff)
downloadpfsense-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.inc4
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
OpenPOWER on IntegriCloud