summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-22 19:19:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-22 19:19:02 +0000
commit4dc91251a8041f54fd7aa476a255500746462ed2 (patch)
tree3bc65a8d0f50b49d040fe0b4bdf4d2d5b3df6458 /etc
parent9cf8666c0f2804abc711dffb2a0f80a816eb0229 (diff)
downloadpfsense-4dc91251a8041f54fd7aa476a255500746462ed2.zip
pfsense-4dc91251a8041f54fd7aa476a255500746462ed2.tar.gz
MFC 9569
Add Sync DNS Forwarder settings to CARP Sync
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index f631135..9442376 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2137,8 +2137,9 @@ function carp_sync_client() {
if($carp['synchronizeipsec'] != "" and is_array($config['ipsec'])) {
$sections[] = 'ipsec';
}
-
-
+ if($carp['synchronizednsforwarder'] != "" and is_array($config['dnsmasq'])) {
+ $sections[] = 'dnsmasq';
+ }
if(count($sections) > 0) {
carp_sync_xml($synchronizetoip, $carp['password'], $sections, $port);
$cli = new XML_RPC_Client('/xmlrpc.php', $synchronizetoip, $port);
OpenPOWER on IntegriCloud