Skip to content

Commit

Permalink
(legacy) add missing function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Aug 31, 2015
1 parent 43a1fe4 commit 5b39c0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/etc/inc/xmlrpc/legacy.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/www/services_dhcp.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ function validate_partial_mac_list($maclist) {
/* 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'])) {
Expand Down
1 change: 1 addition & 0 deletions src/www/system_advanced_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@
}

setup_serial_port();
system_hosts_generate();
// Restart DNS in case dns rebinding toggled
if (isset($config['dnsmasq']['enable'])) {
services_dnsmasq_configure();
Expand Down

0 comments on commit 5b39c0a

Please sign in to comment.