nixos-module/container/bird: export nothing into ospf

This commit is contained in:
Astro 2022-11-01 00:38:24 +01:00
parent c9a24bd407
commit 172706399e
1 changed files with 6 additions and 6 deletions

View File

@ -130,9 +130,9 @@ in
# OSPFv2 for site-local IPv4
protocol ospf v2 ZW4 {
ipv4 {
export where net != 0.0.0.0/0
&& source != RTS_BGP
&& source != RTS_DEVICE;
import all;
# OSPF is self-contained
export none;
};
area 0 {
${builtins.concatStringsSep "\n" (
@ -247,9 +247,9 @@ in
# OSPFv3 for site-local IPv6
protocol ospf v3 ZW6 {
ipv6 {
export where net != ::/0
&& source != RTS_BGP
&& source != RTS_DEVICE;
import all;
# OSPF is self-contained
export none;
};
area 0 {
${builtins.concatStringsSep "\n" (