From 37951c649395880bf8d6d1bf47ec4c965a800d24 Mon Sep 17 00:00:00 2001 From: sump pump Date: Thu, 21 May 2020 01:56:30 +0000 Subject: [PATCH] Update bird/bird.conf.tmpl --- bird/bird.conf.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }