summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-11 19:23:10 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-12 21:16:19 +0200
commit5d9238f1d7f8d19893537a8076031903e8fea271 (patch)
tree213fd704444a8ecdd75fc7c7b083adacab0870b4 /data/templates/frr
parent46391367806834f0f8e60f0894da6b91711d51bc (diff)
downloadvyos-1x-5d9238f1d7f8d19893537a8076031903e8fea271.tar.gz
vyos-1x-5d9238f1d7f8d19893537a8076031903e8fea271.zip
rip: T3328: route-map to zebra/kernel can not be removed
Removing the Zebra/Linux Kernel route-map added by "set protocols rip route-map" was not removed once applied. This was because the removal must happen within the zebra daemon and not ripd.
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/rip.frr.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/frr/rip.frr.tmpl b/data/templates/frr/rip.frr.tmpl
index bc92bddf9..cabc236f0 100644
--- a/data/templates/frr/rip.frr.tmpl
+++ b/data/templates/frr/rip.frr.tmpl
@@ -90,3 +90,7 @@ router rip
{% endif %}
{% include 'frr/rip_ripng.frr.j2' %}
!
+{% if route_map is defined and route_map is not none %}
+ip protocol rip route-map {{ route_map }}
+{% endif %}
+!