nixos-module/container/bird: don't learn direct routes now that ospf has stub ifaces
This commit is contained in:
parent
0d36463c6c
commit
bab496141b
|
@ -74,13 +74,10 @@ in
|
|||
then ''
|
||||
# No RFC1918, RFC6598
|
||||
import where net !~ [ 100.64.0.0/10 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 ];
|
||||
'' else ''
|
||||
import all;
|
||||
''}
|
||||
};
|
||||
ipv6 {
|
||||
import all;
|
||||
''
|
||||
else ""}
|
||||
};
|
||||
ipv6;
|
||||
interface ${lib.concatMapStringsSep ", " (iface:
|
||||
''"${iface}"''
|
||||
)(builtins.attrNames hostConf.interfaces)};
|
||||
|
|
Loading…
Reference in New Issue