summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-24 19:40:54 +0200
committerGitHub <noreply@github.com>2022-08-24 19:40:54 +0200
commit4d34c858d05afd720ed8f5cae0718b8e2c056f30 (patch)
tree0211941549825c626e2aa8a8fb7c5497de1e869c /data/templates/frr
parente6bae7dc112013d6a557c7e15cecf72ab3d39a48 (diff)
parent5fa3468ff2d62a4900b8ff3d9ef396e06e2ae8d6 (diff)
downloadvyos-1x-4d34c858d05afd720ed8f5cae0718b8e2c056f30.tar.gz
vyos-1x-4d34c858d05afd720ed8f5cae0718b8e2c056f30.zip
Merge pull request #1483 from roedie/T4634
BGP: T4634: Allow configuration of disable-connected-check
Diffstat (limited to 'data/templates/frr')
-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 %}