summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorkishiguro <ishi@hash-set.com>2016-09-28 12:09:45 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-29 16:29:15 -0700
commit554f309c9020fa580b7ae74766b069a7ae095444 (patch)
tree1f99f9d92041c2bd5d6efec28ccf2a9add5656b2 /server/server.go
parentdb3dbd7257836521fdab3d41b57dd5f73ed30baf (diff)
Support of ZAPI version 3 (handles VRF ID).
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go2
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