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>
This commit is contained in:
Johannes Kimmel 2022-06-02 00:22:50 +02:00
parent 20d12f943e
commit 9aaf432ca9
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;
}