Update bird.conf.tmpl

This commit is contained in:
Manevolent 2023-04-13 13:05:28 -06:00 committed by GitHub
parent 419eebe56f
commit 21f3440522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ protocol static {
route ${network_address}/${global_prefix:-16} unreachable; route ${network_address}/${global_prefix:-16} unreachable;
# Announced networks # Announced networks
{{ if len "${bgp_routes:-}" }}{{ range "$bgp_routes" | split "," }}route {{.}} via ${internal_gateway}; {{ if len "${bgp_routes:-}" }}{{ range "$bgp_routes" | split "," }}route {{.}} via ${internal_gateway:-"lo"};
{{ end }}{{ end }} {{ end }}{{ end }}
}; };