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 ]; }; }