mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
interafaces: minor sync/cleanup
This commit is contained in:
parent
4e9c75240d
commit
f879fcd97c
@ -98,7 +98,7 @@ switch (isset($config['system']['ipv6allow']) ? ($config['interfaces'][$interfac
|
||||
interface_dhcpv6_configure($interface, $config['interfaces'][$interface]);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
default:
|
||||
if (isset($config['interfaces'][$interface]['dhcp6usev4iface'])) {
|
||||
interface_static6_configure($interface, $config['interfaces'][$interface]);
|
||||
system_routing_configure(false, $interface, true, 'inet6');
|
||||
|
||||
@ -99,7 +99,7 @@ interfaces_vips_configure($interface, 6);
|
||||
$greifs = link_interface_to_gre($interface, true, 6);
|
||||
$gififs = link_interface_to_gif($interface, true, 6);
|
||||
|
||||
switch ($config['interfaces'][$interface]['ipaddrv6'] ?? 'none') {
|
||||
switch (isset($config['system']['ipv6allow']) ? ($config['interfaces'][$interface]['ipaddrv6'] ?? 'none') : 'none') {
|
||||
case 'slaac':
|
||||
/* require immediate reconfiguration before reconfiguring clients */
|
||||
plugins_configure('dhcp', false, ['inet6']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user