summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorfett0 <50275740+fett0@users.noreply.github.com>2024-04-01 17:54:20 -0300
committerGitHub <noreply@github.com>2024-04-01 17:54:20 -0300
commit8c40fcfc5ac033d109e084783bb5b2225e9a40de (patch)
tree6a5f9f31fea7fe0d830b9c71dc946783d20bbcd9 /data/templates
parentecdf22fee3272dedc8c1c7c6d5e95057042b48ce (diff)
parent24d0400b9c55cadef1eb99b3e84a363dd6ad5033 (diff)
downloadvyos-1x-8c40fcfc5ac033d109e084783bb5b2225e9a40de.tar.gz
vyos-1x-8c40fcfc5ac033d109e084783bb5b2225e9a40de.zip
Merge pull request #3212 from fett0/T6151
bgp: T6151: Allow configuration of disable-ebgp-connected-route-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 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 %}