summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-18 18:10:01 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-18 18:10:01 +0100
commit6994297bbc571cab6181631faeb6ec7271796672 (patch)
tree1bd46a02dd7d69ba9f7b89695d7a7b4d3798723b /data/templates
parentcdbac8f10b470a06aff54832da7f006aa3ed194e (diff)
downloadvyos-1x-6994297bbc571cab6181631faeb6ec7271796672.tar.gz
vyos-1x-6994297bbc571cab6181631faeb6ec7271796672.zip
bgp: T2174: use better variable names when creating peers
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bgp.frr.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index 74a9b8c30..db0de45da 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -198,8 +198,8 @@ router bgp {{ asn }}
{% endif %}
!
{% if neighbor is defined and neighbor is not none %}
-{% for n, config in neighbor.items() %}
-{{ bgp_neighbor(n, config) }}
+{% for peer, config in neighbor.items() %}
+{{ bgp_neighbor(peer, config) }}
{% endfor %}
{% endif %}
!