mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 08:09:42 +00:00
interfaces: 6RD/6to4 route creation should be limited to IPv6
This commit is contained in:
parent
a85bd197c2
commit
0d951209e5
@ -84,11 +84,11 @@ $gififs = link_interface_to_gif($interface, true, 4);
|
||||
switch (isset($config['system']['ipv6allow']) ? ($config['interfaces'][$interface]['ipaddrv6'] ?? 'none') : 'none') {
|
||||
case '6to4':
|
||||
interface_6to4_configure($interface, $config['interfaces'][$interface], true);
|
||||
system_routing_configure(false, $interface); /* XXX interface recreation breaks attached routes */
|
||||
system_routing_configure(false, $interface, true, 'inet6'); /* 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 */
|
||||
system_routing_configure(false, $interface, true, 'inet6'); /* interface recreation breaks attached routes */
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user