summaryrefslogtreecommitdiff
path: root/data/templates/frr/bgpd.frr.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-02 02:19:27 +0200
committerGitHub <noreply@github.com>2024-04-02 02:19:27 +0200
commit0cb21915164551b3d2eaab79ed6339184957c326 (patch)
treecc81b717fd08732b9dbd338388a0499bafbea8e3 /data/templates/frr/bgpd.frr.j2
parente2bbbce7db2cbb353efe4f3bf09850492599f228 (diff)
parent28f22de166d10d3881b59d1baa68068dec25d663 (diff)
downloadvyos-1x-0cb21915164551b3d2eaab79ed6339184957c326.tar.gz
vyos-1x-0cb21915164551b3d2eaab79ed6339184957c326.zip
Merge pull request #3231 from vyos/mergify/bp/sagitta/pr-3212
bgp: T6151: Allow configuration of disable-ebgp-connected-route-check (backport #3212)
Diffstat (limited to 'data/templates/frr/bgpd.frr.j2')
-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 %}