From f43775fc02f5abb1340734ce4c2e9d4da5dcd901 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Thu, 22 Dec 2022 10:48:52 +0100 Subject: [PATCH] bird: don't export static routes to kernel --- roles/bird/templates/bird.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bird/templates/bird.conf.j2 b/roles/bird/templates/bird.conf.j2 index 1439f4b..9ee2070 100644 --- a/roles/bird/templates/bird.conf.j2 +++ b/roles/bird/templates/bird.conf.j2 @@ -16,14 +16,14 @@ protocol direct { protocol kernel kernel4 { ipv4 { import all; - export where source != RTS_DEVICE; + export where source !~ [ RTS_DEVICE, RTS_STATIC ]; }; } protocol kernel kernel6 { ipv6 { import all; - export where source != RTS_DEVICE; + export where source !~ [ RTS_DEVICE, RTS_STATIC ]; }; }