From 6994297bbc571cab6181631faeb6ec7271796672 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 18 Jan 2021 18:10:01 +0100 Subject: bgp: T2174: use better variable names when creating peers --- data/templates/frr/bgp.frr.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/templates') 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 %} ! -- cgit v1.2.3