Commit 633577af authored by Ad Schellevis's avatar Ad Schellevis

(legacy) add missing function calls

parent 8d962381
......@@ -213,6 +213,7 @@ function filter_configure_xmlrpc()
# twice, as described on ticket #3797
services_dhcpd_configure();
}
system_hosts_generate();
local_sync_accounts();
return true;
......
......@@ -505,6 +505,7 @@ if (isset($_POST['submit']) || isset($_POST['apply'])) {
/* Stop DHCP so we can cleanup leases */
killbyname("dhcpd");
dhcp_clean_leases();
system_hosts_generate();
/* dnsmasq_configure calls dhcpd_configure */
/* no need to restart dhcpd twice */
if (isset($config['dnsmasq']['enable']) && isset($config['dnsmasq']['regdhcpstatic'])) {
......
......@@ -269,6 +269,7 @@ if ($_POST) {
}
setup_serial_port();
system_hosts_generate();
// Restart DNS in case dns rebinding toggled
if (isset($config['dnsmasq']['enable'])) {
services_dnsmasq_configure();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment