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:
parent
20d12f943e
commit
9aaf432ca9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue