summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
authorSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2018-06-05 15:27:37 +0900
committerSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2018-06-13 13:57:23 +0900
commit964bb04e22fdbf430d9810f5b362d7844b81e251 (patch)
treeef887cce13a85bd25ee879a3df8fd3324cb1c3d2 /gobgpd/main.go
parent57f103ef345deb493f085525ed1674fe18c1dc0e (diff)
api: Implement Shutdonw()
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 99a1c95c..17fcbf81 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -439,7 +439,7 @@ func main() {
}
}
case <-sigCh:
- bgpServer.Shutdown()
+ apiServer.Shutdown(context.Background(), &api.ShutdownRequest{})
}
}
}