summaryrefslogtreecommitdiffhomepage
path: root/server/zclient.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/zclient.go')
-rw-r--r--server/zclient.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/zclient.go b/server/zclient.go
index d5b026ac..37281f7f 100644
--- a/server/zclient.go
+++ b/server/zclient.go
@@ -283,10 +283,6 @@ type zebraClient struct {
dead chan struct{}
}
-func (z *zebraClient) stop() {
- close(z.dead)
-}
-
func (z *zebraClient) getPathListWithNexthopUpdate(body *zebra.NexthopUpdateBody) []*table.Path {
rib := &table.TableManager{
Tables: make(map[bgp.RouteFamily]*table.Table),
@@ -326,7 +322,6 @@ func (z *zebraClient) updatePathByNexthopCache(paths []*table.Path) {
}).Error("failed to update nexthop reachability")
}
}
- return
}
func (z *zebraClient) loop() {