nixos-module/container/bird: don't learn direct routes now that ospf has stub ifaces

This commit is contained in:
Astro 2022-11-01 00:03:17 +01:00
parent 0d36463c6c
commit bab496141b
1 changed files with 3 additions and 6 deletions

View File

@ -74,13 +74,10 @@ in
then '' then ''
# No RFC1918, RFC6598 # 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 ]; 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; else ""}
''}
};
ipv6 {
import all;
}; };
ipv6;
interface ${lib.concatMapStringsSep ", " (iface: interface ${lib.concatMapStringsSep ", " (iface:
''"${iface}"'' ''"${iface}"''
)(builtins.attrNames hostConf.interfaces)}; )(builtins.attrNames hostConf.interfaces)};