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 }}; };