mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: always up dhcpv6 services, blacklisting only for shutdown
This commit is contained in:
parent
1b442af8f0
commit
b921272cc4
@ -113,16 +113,8 @@ if (!empty($grouptmp)) {
|
||||
array_walk($grouptmp, 'interface_group_add_member');
|
||||
}
|
||||
|
||||
$trackers = link_interface_to_track6($interface, true);
|
||||
if (count($trackers) || $configip == 'track6') {
|
||||
/*
|
||||
* Reload either tracker or tracked interface configs so that
|
||||
* IPv6 addresses are correctly updated in the services:
|
||||
*
|
||||
* 1. WAN side will want to reconfigure, but blacklist trackers
|
||||
* 2. LAN side will want to reconfigure, no blacklist
|
||||
*/
|
||||
services_dhcpd_configure(false, 'inet6', $trackers);
|
||||
if ($configip == 'track6' || count(link_interface_to_track6($interface, true))) {
|
||||
services_dhcpd_configure(false, 'inet6');
|
||||
}
|
||||
|
||||
system_resolvconf_generate();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user