diff options
author | Hitoshi Irino <irino@sfc.wide.ad.jp> | 2018-08-17 19:41:32 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-08-18 10:41:20 +0900 |
commit | edbedebf7b048034eeed4bc7f442432d15d549d8 (patch) | |
tree | 9ace882d6b57e1b458fe208cd7e7ef200853adce /internal/pkg/config/default.go | |
parent | 75254037d47ca8a6cf86604d8371d5db5db8464d (diff) |
ZAPI5 (FRRouting version 5) support
Diffstat (limited to 'internal/pkg/config/default.go')
-rw-r--r-- | internal/pkg/config/default.go | 4 |
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 |