Update bird/bird.conf.tmpl
This commit is contained in:
parent
c82ac551f8
commit
37951c6493
@ -42,7 +42,8 @@ function is_lixonet_router()
|
|||||||
|
|
||||||
function is_own_route()
|
function is_own_route()
|
||||||
{
|
{
|
||||||
{{ if len "${routes:-}" }}{{ range "$routes" | split "," }}if net ~ [ {{.}}+ ] then return true;{{ end }}{{ end }}
|
{{ if len "${routes:-}" }}{{ range "$routes" | split "," }}if net ~ [ {{.}}+ ] then return true;{{ end }}
|
||||||
|
{{ end }}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user