interfaces: for static "Use IPv4 connectivity" bring up IPv6 routes as well

Looks like a regression from e420cc4aa718f since rc.newwanipv6 is not called
in a static setup and later we only deal with IPv4.

PR: https://forum.opnsense.org/index.php?topic=33864.0
This commit is contained in:
Franco Fichtner 2023-05-16 08:37:48 +02:00
parent 603a6801f1
commit 766f1f0c5a

View File

@ -127,6 +127,7 @@ if (isset($config['interfaces'][$interface]['ipaddrv6'])) {
default:
if (isset($config['interfaces'][$interface]['dhcp6usev4iface'])) {
interface_static6_configure($interface, $config['interfaces'][$interface]);
system_routing_configure(false, $interface, 'inet6');
}
break;
}