From 2bdb76f2dcf24b891f2b6327a57c31b26463b2dd Mon Sep 17 00:00:00 2001 From: Hitoshi Irino Date: Sun, 21 Oct 2018 15:20:17 +0900 Subject: Supporting Zebra API version 6 which is used in FRRouting version 6 --- internal/pkg/config/default.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/pkg/config/default.go') diff --git a/internal/pkg/config/default.go b/internal/pkg/config/default.go index 1f4105c7..31dd1b17 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 > 5 { - b.Zebra.Config.Version = 5 + } else if b.Zebra.Config.Version > 6 { + b.Zebra.Config.Version = 6 } 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