Commit 5b39c0a4 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) add missing function calls

parent 43a1fe43
...@@ -213,6 +213,7 @@ function filter_configure_xmlrpc() ...@@ -213,6 +213,7 @@ function filter_configure_xmlrpc()
# twice, as described on ticket #3797 # twice, as described on ticket #3797
services_dhcpd_configure(); services_dhcpd_configure();
} }
system_hosts_generate();
local_sync_accounts(); local_sync_accounts();
return true; return true;
......
...@@ -505,6 +505,7 @@ if (isset($_POST['submit']) || isset($_POST['apply'])) { ...@@ -505,6 +505,7 @@ if (isset($_POST['submit']) || isset($_POST['apply'])) {
/* Stop DHCP so we can cleanup leases */ /* Stop DHCP so we can cleanup leases */
killbyname("dhcpd"); killbyname("dhcpd");
dhcp_clean_leases(); dhcp_clean_leases();
system_hosts_generate();
/* dnsmasq_configure calls dhcpd_configure */ /* dnsmasq_configure calls dhcpd_configure */
/* no need to restart dhcpd twice */ /* no need to restart dhcpd twice */
if (isset($config['dnsmasq']['enable']) && isset($config['dnsmasq']['regdhcpstatic'])) { if (isset($config['dnsmasq']['enable']) && isset($config['dnsmasq']['regdhcpstatic'])) {
......
...@@ -269,6 +269,7 @@ if ($_POST) { ...@@ -269,6 +269,7 @@ if ($_POST) {
} }
setup_serial_port(); setup_serial_port();
system_hosts_generate();
// Restart DNS in case dns rebinding toggled // Restart DNS in case dns rebinding toggled
if (isset($config['dnsmasq']['enable'])) { if (isset($config['dnsmasq']['enable'])) {
services_dnsmasq_configure(); 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