diff options
author | kishiguro <ishi@hash-set.com> | 2016-09-28 12:09:45 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-29 16:29:15 -0700 |
commit | 554f309c9020fa580b7ae74766b069a7ae095444 (patch) | |
tree | 1f99f9d92041c2bd5d6efec28ccf2a9add5656b2 /server/server.go | |
parent | db3dbd7257836521fdab3d41b57dd5f73ed30baf (diff) |
Support of ZAPI version 3 (handles VRF ID).
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index befe1e53..65b23ce8 100644 --- a/server/server.go +++ b/server/server.go @@ -889,7 +889,7 @@ func (s *BgpServer) StartZebraClient(c *config.ZebraConfig) (err error) { for _, p := range c.RedistributeRouteTypeList { protos = append(protos, string(p)) } - s.zclient, err = newZebraClient(s, c.Url, protos) + s.zclient, err = newZebraClient(s, c.Url, protos, c.Version) } } return err |