Project

General

Profile

« Previous | Next » 

Revision 4469379c

Added by Renato Botelho over 10 years ago

Add dnsmasq and unbound config sections to full sync, it fixes #4076 that is caused because boolean config fields are not disabled on secondary

View differences:

usr/local/www/xmlrpc.php
186 186

  
187 187
	// Some sections should just be copied and not merged or we end
188 188
	//   up unable to sync the deletion of the last item in a section
189
	$sync_full = array('ipsec', 'aliases', 'wol', 'load_balancer', 'openvpn', 'cert', 'ca', 'crl', 'schedules', 'filter', 'nat', 'dhcpd', 'dhcpv6');
189
	$sync_full = array('dnsmasq', 'unbound', 'ipsec', 'aliases', 'wol', 'load_balancer', 'openvpn', 'cert', 'ca', 'crl', 'schedules', 'filter', 'nat', 'dhcpd', 'dhcpv6');
190 190
	$sync_full_done = array();
191 191
	foreach ($sync_full as $syncfull) {
192 192
		if (isset($params[0][$syncfull])) {

Also available in: Unified diff