diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-18 18:10:01 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-18 18:10:01 +0100 |
commit | 6994297bbc571cab6181631faeb6ec7271796672 (patch) | |
tree | 1bd46a02dd7d69ba9f7b89695d7a7b4d3798723b /data | |
parent | cdbac8f10b470a06aff54832da7f006aa3ed194e (diff) | |
download | vyos-1x-6994297bbc571cab6181631faeb6ec7271796672.tar.gz vyos-1x-6994297bbc571cab6181631faeb6ec7271796672.zip |
bgp: T2174: use better variable names when creating peers
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/frr/bgp.frr.tmpl | 4 |
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 %} ! |