summaryrefslogtreecommitdiffhomepage
path: root/pkg/server
diff options
context:
space:
mode:
authorHitoshi Irino <irino@sfc.wide.ad.jp>2018-10-21 15:20:17 +0900
committerHitoshi Irino <irino@sfc.wide.ad.jp>2018-10-21 15:20:17 +0900
commit2bdb76f2dcf24b891f2b6327a57c31b26463b2dd (patch)
tree8ae082cd3227689466f3d80072ecb88f56f2b599 /pkg/server
parent329c2d316efecfed0331e30114d7086aa58e247e (diff)
Supporting Zebra API version 6 which is used in FRRouting version 6
Diffstat (limited to 'pkg/server')
-rw-r--r--pkg/server/zclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/zclient.go b/pkg/server/zclient.go
index 57aacf83..c4abd12b 100644
--- a/pkg/server/zclient.go
+++ b/pkg/server/zclient.go
@@ -420,7 +420,7 @@ func newZebraClient(s *BgpServer, url string, protos []string, version uint8, nh
}
var cli *zebra.Client
var err error
- for _, ver := range []uint8{version, 2, 3, 4, 5} {
+ for _, ver := range []uint8{version, 2, 3, 4, 5, 6} {
cli, err = zebra.NewClient(l[0], l[1], zebra.ROUTE_BGP, ver)
if err == nil {
break