From 172706399e9862349b81ece7faf063fa412e7d07 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 1 Nov 2022 00:38:24 +0100 Subject: [PATCH] nixos-module/container/bird: export nothing into ospf --- nix/nixos-module/container/bird.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nix/nixos-module/container/bird.nix b/nix/nixos-module/container/bird.nix index 9cfb523..195f967 100644 --- a/nix/nixos-module/container/bird.nix +++ b/nix/nixos-module/container/bird.nix @@ -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" (