Update bird/bird.conf.tmpl
This commit is contained in:
parent
37951c6493
commit
43a9c84056
@ -42,8 +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 }}
|
{{ if len "${routes:-}" }}{{ range "$routes" | split "," }}if net ~ [ {{.}}+ ] then return true;
|
||||||
{{ end }}
|
{{ end }}{{ end }}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user