From 21f3440522f9e3405ed12d0ac6a3c48b9037ccb9 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Thu, 13 Apr 2023 13:05:28 -0600 Subject: [PATCH] Update bird.conf.tmpl --- bird/bird.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bird/bird.conf.tmpl b/bird/bird.conf.tmpl index 22a8199..8435820 100644 --- a/bird/bird.conf.tmpl +++ b/bird/bird.conf.tmpl @@ -151,7 +151,7 @@ protocol static { route ${network_address}/${global_prefix:-16} unreachable; # 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 }} };