summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorSander Klein <github@roedie.nl>2022-08-22 13:23:41 +0200
committerSander Klein <github@roedie.nl>2022-08-22 13:23:41 +0200
commit5fa3468ff2d62a4900b8ff3d9ef396e06e2ae8d6 (patch)
tree4ab1682f5e64ef39ed57333c08ac4451d59e74c9 /data/templates
parent26361076d2b4136dae9ba426c486430002b6e9ac (diff)
downloadvyos-1x-5fa3468ff2d62a4900b8ff3d9ef396e06e2ae8d6.tar.gz
vyos-1x-5fa3468ff2d62a4900b8ff3d9ef396e06e2ae8d6.zip
BGP: T4634: Allow configuration of disable-connected-check
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bgpd.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 2ab7c8596..808e9dbe7 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -38,6 +38,9 @@
{% if config.disable_capability_negotiation is vyos_defined %}
neighbor {{ neighbor }} dont-capability-negotiate
{% endif %}
+{% if config.disable_connected_check is vyos_defined %}
+ neighbor {{ neighbor }} disable-connected-check
+{% endif %}
{% if config.ebgp_multihop is vyos_defined %}
neighbor {{ neighbor }} ebgp-multihop {{ config.ebgp_multihop }}
{% endif %}