diff --git a/bird/bird.conf.tmpl b/bird/bird.conf.tmpl index 21d0ce4..e372d9c 100644 --- a/bird/bird.conf.tmpl +++ b/bird/bird.conf.tmpl @@ -42,7 +42,8 @@ function is_lixonet_router() 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; }