summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-14 07:54:07 +0200
committerGitHub <noreply@github.com>2023-09-14 07:54:07 +0200
commitc803cf3bae093b4661c7e6213fce41461d1c62c2 (patch)
tree6a5fce033fb11fab51d7b4bd780a76899693869b /data
parent3d9a0b02d031a97b099ef6fe4ba07d7ce7eb958e (diff)
parent84e245a712507013c4a4f4fcf3b0448b40221f86 (diff)
downloadvyos-1x-c803cf3bae093b4661c7e6213fce41461d1c62c2.tar.gz
vyos-1x-c803cf3bae093b4661c7e6213fce41461d1c62c2.zip
Merge pull request #2259 from vyos/mergify/bp/sagitta/pr-2252
T5576: Add BGP remove-private-as all option (backport #2252)
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 7fa974254..e1c102e16 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -170,7 +170,7 @@
{% endif %}
{% endif %}
{% if afi_config.remove_private_as is vyos_defined %}
- neighbor {{ neighbor }} remove-private-AS
+ neighbor {{ neighbor }} remove-private-AS {{ 'all' if afi_config.remove_private_as.all is vyos_defined }}
{% endif %}
{% if afi_config.route_reflector_client is vyos_defined %}
neighbor {{ neighbor }} route-reflector-client