fff-babel-bird2: fix filter for router ip imports

Currently router ipv6 addresses imported via the direct protocol from
the lo interface are all filtered. This should fix it.

Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Johannes Kimmel 2022-06-02 00:22:50 +02:00 committed by Fabian Bläse
parent e6efc9671a
commit 9bc3690cbd
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ protocol direct {
}
# only import GUA + ULA addresses
if net !~ 2000::/3 from ::/0 || net !~ fc00::/7 from ::/0 then {
if net !~ 2000::/3 from ::/0 && net !~ fc00::/7 from ::/0 then {
reject;
}