summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2024-03-29 13:01:19 +0000
committerfett0 <fernando.gmaidana@gmail.com>2024-03-29 13:01:19 +0000
commit010c4061a8884a3617368f3618a425dc517d0675 (patch)
tree09d036a686a245734b28b17e122ca0006078ecad /data/templates/frr
parentf30a22ebde92302916282be4fe40489efaaf3b3e (diff)
downloadvyos-1x-010c4061a8884a3617368f3618a425dc517d0675.tar.gz
vyos-1x-010c4061a8884a3617368f3618a425dc517d0675.zip
bgp: T6010: Allow configuration of disable-ebgp-connected-route-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 e9422b257..7d1241f5a 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -537,6 +537,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if parameters.allow_martian_nexthop is vyos_defined %}
bgp allow-martian-nexthop
{% endif %}
+{% if parameters.disable_ebgp_connected_route_check is vyos_defined %}
+ bgp disable-ebgp-connected-route-check
+{% endif %}
{% if parameters.always_compare_med is vyos_defined %}
bgp always-compare-med
{% endif %}