summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/config/default.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/config/default.go')
-rw-r--r--internal/pkg/config/default.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/config/default.go b/internal/pkg/config/default.go
index 6ab1eddc..1f4105c7 100644
--- a/internal/pkg/config/default.go
+++ b/internal/pkg/config/default.go
@@ -398,8 +398,8 @@ func setDefaultConfigValuesWithViper(v *viper.Viper, b *BgpConfigSet) error {
}
if b.Zebra.Config.Version < 2 {
b.Zebra.Config.Version = 2
- } else if b.Zebra.Config.Version > 4 {
- b.Zebra.Config.Version = 4
+ } else if b.Zebra.Config.Version > 5 {
+ b.Zebra.Config.Version = 5
}
if !v.IsSet("zebra.config.nexthop-trigger-enable") && !b.Zebra.Config.NexthopTriggerEnable && b.Zebra.Config.Version > 2 {
b.Zebra.Config.NexthopTriggerEnable = true