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 f92b8be8..c0b4682e 100644
--- a/server/server.go
+++ b/server/server.go
@@ -217,6 +217,8 @@ func (server *BgpServer) Serve() {
}
select {
+ case f := <-server.mgmtCh:
+ f()
case conn := <-server.acceptCh:
passConn(conn)
default: