summaryrefslogtreecommitdiffhomepage
path: root/config/default.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/default.go')
-rw-r--r--config/default.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/default.go b/config/default.go
index c0764c44..787a160b 100644
--- a/config/default.go
+++ b/config/default.go
@@ -19,6 +19,7 @@ func SetDefaultConfigValues(v *viper.Viper, b *Bgp) error {
if v == nil {
v = viper.New()
}
+
if !v.IsSet("global.afi-safis") {
b.Global.AfiSafis = []AfiSafi{
AfiSafi{AfiSafiName: "ipv4-unicast"},