From 43a9c84056659e5b2aa57201537e143958c3b773 Mon Sep 17 00:00:00 2001 From: sump pump Date: Thu, 21 May 2020 01:56:54 +0000 Subject: [PATCH] Update bird/bird.conf.tmpl --- bird/bird.conf.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bird/bird.conf.tmpl b/bird/bird.conf.tmpl index e372d9c..54a2518 100644 --- a/bird/bird.conf.tmpl +++ b/bird/bird.conf.tmpl @@ -42,8 +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; }