From 11b906d401c6aff5a41fbb12fe0ce4a1355edad9 Mon Sep 17 00:00:00 2001 From: Simeon Keske Date: Sat, 23 May 2020 01:13:20 +0200 Subject: [PATCH] fix bird peer conf --- templates/bird2/peer.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/bird2/peer.conf.j2 b/templates/bird2/peer.conf.j2 index dc8159d..3afe393 100644 --- a/templates/bird2/peer.conf.j2 +++ b/templates/bird2/peer.conf.j2 @@ -1,4 +1,4 @@ -{% if peer.v4 is defined and not peer.bgp4o6 | default('false') %} +{% if peer.v4 is defined and not peer.bgp4o6 is defined %} protocol bgp {{ peer.name }} from dnpeers { neighbor {{ peer.v4 }} as {{ peer.as }}; };