From 38e5cd1e0150fb42feb06d7cfe923fa599b99586 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 19 Apr 2007 21:08:13 +0000 Subject: [PATCH] Note that we use the username admin when syncing in the error messages --- etc/inc/filter.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index b8904216f2..e716016b64 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -3039,11 +3039,11 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens /* send our XMLRPC message and timeout after 240 seconds */ $resp = $cli->send($msg, "240"); if(!$resp) { - $error = "A communications error occured while attempting XMLRPC sync with {$url}:{$port}."; + $error = "A communications error occured while attempting XMLRPC sync with username admin {$url}:{$port}."; log_error($error); file_notice("sync_settings", $error, "Settings Sync", ""); } elseif($resp->faultCode()) { - $error = "An error code was received while attempting XMLRPC sync with {$url}:{$port} - Code " . $resp->faultCode() . ": " . $resp->faultString(); + $error = "An error code was received while attempting XMLRPC sync with username admin {$url}:{$port} - Code " . $resp->faultCode() . ": " . $resp->faultString(); log_error($error); file_notice("sync_settings", $error, "Settings Sync", ""); } else {