summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-28 22:59:17 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-28 22:59:17 +0200
commitf9e38622adc6edb66c84c397ef4d0ae9e49e008e (patch)
treeada22e119bedfe9badd22bf583a6958dfbb50be5 /data
parent8099770c1004d4dd756145050157f51f474ede95 (diff)
downloadvyos-1x-f9e38622adc6edb66c84c397ef4d0ae9e49e008e.tar.gz
vyos-1x-f9e38622adc6edb66c84c397ef4d0ae9e49e008e.zip
rip: T4448: add support to set protocol version on an interface level
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/ripd.frr.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/ripd.frr.j2 b/data/templates/frr/ripd.frr.j2
index e884ed85f..e9e484cc2 100644
--- a/data/templates/frr/ripd.frr.j2
+++ b/data/templates/frr/ripd.frr.j2
@@ -32,6 +32,12 @@ interface {{ iface }}
{% if iface_config.split_horizon.poison_reverse is vyos_defined %}
ip rip split-horizon poisoned-reverse
{% endif %}
+{% if iface_config.receive.version is vyos_defined %}
+ ip rip receive version {{ iface_config.receive.version }}
+{% endif %}
+{% if iface_config.send.version is vyos_defined %}
+ ip rip send version {{ iface_config.send.version }}
+{% endif %}
exit
!
{% endfor %}