From edbedebf7b048034eeed4bc7f442432d15d549d8 Mon Sep 17 00:00:00 2001 From: Hitoshi Irino Date: Fri, 17 Aug 2018 19:41:32 +0900 Subject: ZAPI5 (FRRouting version 5) support --- internal/pkg/config/default.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/pkg/config') 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 -- cgit v1.2.3