forked from freifunk-franken/firmware
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:
parent
e6efc9671a
commit
9bc3690cbd
|
@ -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
Block a user