diff options
author | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:12:16 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:12:16 +0200 |
commit | 137460a70617108f17435951d477e229a889eef8 (patch) | |
tree | 0601f0ee61efad4eb532ae54aa753cc52330cb2c /usr/local | |
parent | 50b2851b7ed995dbc2fc17c02e6f56f772ef97c4 (diff) | |
download | pfsense-137460a70617108f17435951d477e229a889eef8.zip pfsense-137460a70617108f17435951d477e229a889eef8.tar.gz |
Ensure to reconfigure Unbound for filter configuration on XMLRPC
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 91f05e9..4cacb78 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -371,7 +371,10 @@ function filter_configure_xmlrpc($raw_params) { require_once("openvpn.inc"); openvpn_resync_all(); services_dhcpd_configure(); - services_dnsmasq_configure(); + if (isset($config['dnsmasq']['enable'])) + services_dnsmasq_configure(); + elseif (isset($config['unbound']['enable'])) + services_unbound_configure(); local_sync_accounts(); return $xmlrpc_g['return']['true']; |