From 619c518bfc904b060b5b59180940a804fe1beafd Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 19 Apr 2021 20:02:02 +0200 Subject: T2175: properly exist FRR "router" context when rendering templates When rendering a dynamic routing protocol ensure the context, e.g. "router bgp" or "router ospf" is proberly exited before applying any zebra route-map. --- data/templates/frr/rip.frr.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'data/templates/frr/rip.frr.tmpl') diff --git a/data/templates/frr/rip.frr.tmpl b/data/templates/frr/rip.frr.tmpl index cabc236f0..748dfb126 100644 --- a/data/templates/frr/rip.frr.tmpl +++ b/data/templates/frr/rip.frr.tmpl @@ -89,6 +89,7 @@ router rip {% endif %} {% endif %} {% include 'frr/rip_ripng.frr.j2' %} + exit ! {% if route_map is defined and route_map is not none %} ip protocol rip route-map {{ route_map }} -- cgit v1.2.3