summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go
index 7bfedc49..b77f24b1 100644
--- a/server/server.go
+++ b/server/server.go
@@ -423,6 +423,7 @@ func (server *BgpServer) broadcastBests(bests []table.Path) {
case <-req.EndCh:
continue
case req.ResponseCh <- result:
+ default:
}
remainReqs = append(remainReqs, req)
}
@@ -446,6 +447,7 @@ func (server *BgpServer) broadcastPeerState(peer *Peer) {
case <-req.EndCh:
continue
case req.ResponseCh <- result:
+ default:
}
remainReqs = append(remainReqs, req)
}