diff options
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-x | etc/rc.filter_synchronize | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize index db83f92..b76f08c 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -273,7 +273,8 @@ if (is_array($config['installedpackages']['carpsettings']['config'])) { $cli->send($msg, "900"); /* signal a carp reload */ $cli = new XML_RPC_Client('/xmlrpc.php', $synchronizetoip, $port); - $msg = new XML_RPC_Message('pfsense.interfaces_carp_configure'); + $msg = new XML_RPC_Message('pfsense.interfaces_carp_configure', array(new XML_RPC_Value($carp['password'], 'string'))); + $cli->setCredentials($username, $carp['password']); $cli->send($msg, "900"); } break; @@ -281,4 +282,4 @@ if (is_array($config['installedpackages']['carpsettings']['config'])) { } } -?> +?>
\ No newline at end of file |