summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-14 18:55:09 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-14 18:55:09 +0100
commit3549dbe4d8dfdc1b7bcb39aa795ba147c86f5066 (patch)
tree26f91425bb3ef01cf7f2cefcff7f793a789471a0 /data/templates
parent3b9ae4c22d8dffa8b5beee57bf5b19dac969a009 (diff)
downloadvyos-1x-3549dbe4d8dfdc1b7bcb39aa795ba147c86f5066.tar.gz
vyos-1x-3549dbe4d8dfdc1b7bcb39aa795ba147c86f5066.zip
bgp: T2174: remove invalid "no bgp default ipv4-unicast" from default config
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bgp.frr.tmpl2
1 files changed, 0 insertions, 2 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index af04ee1ce..74a9b8c30 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -133,7 +133,6 @@
{% endmacro %}
!
router bgp {{ asn }}
- no bgp default ipv4-unicast
{% if address_family is defined and address_family is not none %}
{% for af in address_family %}
!
@@ -241,7 +240,6 @@ router bgp {{ asn }}
bgp default local-preference {{ parameters.default.local_pref }}
{% endif %}
{% if parameters.default.no_ipv4_unicast is defined %}
-{# We use this is parameter as default in template (5-th string) #}
no bgp default ipv4-unicast
{% endif %}
{% endif %}