summaryrefslogtreecommitdiff
path: root/data/templates/frr/ripngd.frr.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 10:32:02 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-27 10:32:02 +0100
commit1a96fb8a4424967f9d535df64c3119fc572d2f52 (patch)
tree9eee76e066059d3aada3aaa40761ea21fb6c8ad5 /data/templates/frr/ripngd.frr.tmpl
parentd1daf8e3c8a22e773ed0800ba2d9585a151ccb86 (diff)
downloadvyos-1x-1a96fb8a4424967f9d535df64c3119fc572d2f52.tar.gz
vyos-1x-1a96fb8a4424967f9d535df64c3119fc572d2f52.zip
ripng: T3753: adjust to new FRR 8.1 syntax
Diffstat (limited to 'data/templates/frr/ripngd.frr.tmpl')
-rw-r--r--data/templates/frr/ripngd.frr.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/templates/frr/ripngd.frr.tmpl b/data/templates/frr/ripngd.frr.tmpl
index 25df15121..ca7b9b5fb 100644
--- a/data/templates/frr/ripngd.frr.tmpl
+++ b/data/templates/frr/ripngd.frr.tmpl
@@ -1,4 +1,3 @@
-!
{# Interface specific configuration #}
{% if interface is defined and interface is not none %}
{% for iface, iface_config in interface.items() %}
@@ -9,6 +8,7 @@ interface {{ iface }}
{% if iface_config.split_horizon is defined and iface_config.split_horizon.poison_reverse is defined %}
ipv6 rip split-horizon poisoned-reverse
{% endif %}
+exit
{% endfor %}
{% endif %}
!
@@ -57,4 +57,9 @@ router ripng
{% endif %}
{% endif %}
{% include 'frr/rip_ripng.frr.j2' %}
+exit
+!
+{% if route_map is defined and route_map is not none %}
+ipv6 protocol ripng route-map {{ route_map }}
+{% endif %}
!