From 105b835dd4d165cf9469fc8c8ef6faa6cfcf7662 Mon Sep 17 00:00:00 2001 From: Cory Hawkless Date: Sun, 22 Nov 2020 01:06:42 +1030 Subject: [PATCH] added line space --- templates/frr.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/frr.conf.j2 b/templates/frr.conf.j2 index fad520d..ee929d8 100644 --- a/templates/frr.conf.j2 +++ b/templates/frr.conf.j2 @@ -102,9 +102,10 @@ router bgp {{host_ASN}} exit-address-family ! {% if host_loopback_IP is defined %}ip prefix-list AS{{host_ASN}}-OUT seq 5 permit {{host_loopback_IP}}/32{% endif %} + {% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %} {% for item in networks_to_announce_ipv4 %} - ip prefix-list AS{{host_ASN}}-OUT seq {{loop.index+5}} permit {{item}}/32 + ip prefix-list AS{{host_ASN}}-OUT seq {{loop.index+5}} permit {{item}}/32 {% endfor %} {% endif %}