diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-02-11 09:13:00 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-02-11 09:13:00 +0100 |
commit | 1d564143770e22559ca137fa298105300953699a (patch) | |
tree | 3826cdd9c3da95bbba14105ddc714549ced9ec39 /etc/rc.filter_synchronize | |
parent | 07dfd12159413d2bcb91c5e17952284e9b128ab7 (diff) | |
parent | 554d3bc22d54076a437bc9e71bcfd8036ebe7d38 (diff) | |
download | pfsense-1d564143770e22559ca137fa298105300953699a.zip pfsense-1d564143770e22559ca137fa298105300953699a.tar.gz |
Merge remote branch 'upstream/master'
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-x | etc/rc.filter_synchronize | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize index 086a537..28b08cf 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -115,7 +115,7 @@ function carp_check_version($url, $password, $port = 80, $method = 'pfsense.host $parsed_response = XML_RPC_decode($resp->value()); if(!is_array($parsed_response)) { if (trim($parsed_response) == "Authentication failed") { - $error = "A authentication failure occurred while trying to access {$url}:{$port} ({$method})."; + $error = "An authentication failure occurred while trying to access {$url}:{$port} ({$method})."; log_error($error); file_notice("sync_settings", $error, "Settings Sync", ""); exit; @@ -250,7 +250,7 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens } else { $parsed_response = XML_RPC_decode($resp->value()); if(!is_array($parsed_response) && trim($parsed_repsonse) == "Authentication failed") { - $error = "A authentication failure occurred while trying to access {$url}:{$port} ($method)."; + $error = "An authentication failure occurred while trying to access {$url}:{$port} ($method)."; log_error($error); file_notice("sync_settings", $error, "Settings Sync", ""); exit; |