From 344827430a6c8149e0343860b82af4da2c5fbb96 Mon Sep 17 00:00:00 2001 From: Ilja Rotar Date: Tue, 19 May 2026 11:41:07 +0200 Subject: [PATCH] Fix SetSrcLoopback Config --- cmd/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index 7d64a67d..49159b27 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -16,7 +16,7 @@ type Config struct { ApiPort int `required:"false" default:"8080" desc:"set metal api port" envconfig:"metal_api_port"` ApiBasePath string `required:"false" default:"" desc:"set metal api basepath" envconfig:"metal_api_basepath"` LoopbackIP string `required:"false" default:"10.0.0.11" desc:"set the loopback ip address that is used with BGP unnumbered" split_words:"true"` - SetSrcLoopback bool `required:"false" default:"false" desc:"if true the loopback address will be used as default source address in frr.conf" split_words:"true"` + SetSrcLoopback bool `required:"false" default:"false" desc:"if true the loopback address will be used as default source address in frr.conf" envconfig:"set_src_loopback"` ASN string `required:"false" default:"420000011" desc:"set the ASN that is used with BGP"` SpineUplinks []string `required:"false" default:"swp31,swp32" desc:"set the ports that are connected to spines" envconfig:"spine_uplinks"` ManagementGateway string `required:"false" default:"" desc:"the default gateway for the management network" split_words:"true"`