diff options
Diffstat (limited to 'config/default.go')
-rw-r--r-- | config/default.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/default.go b/config/default.go index 21b95758..536b7a1e 100644 --- a/config/default.go +++ b/config/default.go @@ -33,6 +33,10 @@ func SetDefaultConfigValues(v *viper.Viper, b *Bgp) error { } } + if !v.IsSet("global.zebra.url") { + b.Global.Zebra.Url = "unix:/var/run/quagga/zserv.api" + } + if !v.IsSet("global.afi-safis") { b.Global.AfiSafis = []AfiSafi{} for k, _ := range AfiSafiTypeToIntMap { |