Allow BIRD to import specific Wireguard prefixes (i.e. /32) again
This commit is contained in:
parent
25d22054f4
commit
871c55114a
@ -93,7 +93,7 @@ function is_own_route_v4()
|
||||
|
||||
function is_wireguard_route_v4()
|
||||
{
|
||||
{{ if len "${wg_routes:-}" }}{{ range "$wg_routes" | split "," }}if net ~ [ {{.}} ] then return true;
|
||||
{{ if len "${wg_routes:-}" }}{{ range "$wg_routes" | split "," }}if net ~ [ {{.}}+ ] then return true;
|
||||
{{ end }}{{ end }}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user