aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/haproxy-devel/haproxy_global.php2
-rw-r--r--config/haproxy-devel/haproxy_xmlrpcsyncclient.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/config/haproxy-devel/haproxy_global.php b/config/haproxy-devel/haproxy_global.php
index 018a67ef..ff8d1280 100755
--- a/config/haproxy-devel/haproxy_global.php
+++ b/config/haproxy-devel/haproxy_global.php
@@ -341,7 +341,7 @@ function enable_change(enable_change) {
<td width="78%" class="vtable">
<input name="enablesync" type="checkbox" value="yes" <?php if ($pconfig['enablesync']) echo "checked"; ?>>
<strong>Sync HAProxy configuration to backup CARP members via XMLRPC.</strong><br/>
- Note: remeber to also turn on HAProxy Sync on the backup nodes.<br/>
+ Note: remember to also turn on HAProxy Sync on the backup nodes.<br/>
The synchronisation host and password are those configured in pfSense main <a href="/system_hasync.php">"System: High Availability Sync"</a> settings.
</td>
</tr>
diff --git a/config/haproxy-devel/haproxy_xmlrpcsyncclient.inc b/config/haproxy-devel/haproxy_xmlrpcsyncclient.inc
index 5c4a373b..781b7544 100644
--- a/config/haproxy-devel/haproxy_xmlrpcsyncclient.inc
+++ b/config/haproxy-devel/haproxy_xmlrpcsyncclient.inc
@@ -60,7 +60,7 @@ function xmlrpc_sync_execute($syncinfo) {
$donotsync = true;
if($donotsync) {
- log_error("Disallowing sync loop for HAProxy sync.");
+ log_error("Disallowing sync loop for {$sync_logname} sync.");
return;
}
@@ -114,7 +114,7 @@ function xmlrpc_sync_execute($syncinfo) {
log_error("{$sync_logname} XMLRPC sync successfully completed with {$url}:{$port}.");
}
- /* tell haproxy to reload our settings on the destionation sync host. */
+ /* tell package to reload our settings on the destination sync host. */
$method = 'pfsense.exec_php';
$execcmd = "require_once('{$sync_include}');\n";
$execcmd .= "{$sync_function}();\n";
@@ -125,7 +125,7 @@ function xmlrpc_sync_execute($syncinfo) {
XML_RPC_encode($execcmd)
);
- log_error("HAProxy XMLRPC reload data {$url}:{$port}.");
+ log_error("{$sync_logname} XMLRPC reload data {$url}:{$port}.");
$msg = new XML_RPC_Message($method, $params);
$cli = new XML_RPC_Client('/xmlrpc.php', $url, $port);
$cli->setCredentials('admin', $password);