interfaces: bring routes back after reconfiguring IPv6 connectivity

PR: https://forum.opnsense.org/index.php?topic=29698.0
This commit is contained in:
Franco Fichtner 2022-08-05 11:00:05 +02:00
parent d68d50caeb
commit e5006e9e44

View File

@ -99,9 +99,11 @@ if (isset($config['interfaces'][$interface]['ipaddrv6'])) {
switch ($config['interfaces'][$interface]['ipaddrv6']) {
case '6to4':
interface_6to4_configure($interface, $config['interfaces'][$interface], true);
system_routing_configure(false, $interface); /* XXX interface recreation breaks attached routes */
break;
case '6rd':
interface_6rd_configure($interface, $config['interfaces'][$interface], true);
system_routing_configure(false, $interface); /* XXX interface recreation breaks attached routes */
break;
case 'dhcp6':
case 'slaac':