summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-26 12:04:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-26 12:04:04 +0900
commite0e421bbca8f620fc40c98de7d8ae386a8f8a6ad (patch)
tree6aca5e2e5cea4c7c60bc5ed451f90544f83e2ec8 /gobgpd/main.go
parentf623f8d538cd0ce9b31a97248ac862bb1c8b8b7c (diff)
move gRPC-related code for REQ_START_SERVER to grpc_server.go
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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 c8f32926..aaf038a2 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -206,7 +206,7 @@ func main() {
if c == nil {
c = newConfig
- if err := bgpServer.SetGlobalType(newConfig.Global); err != nil {
+ if err := bgpServer.Start(&newConfig.Global); err != nil {
log.Fatalf("failed to set global config: %s", err)
}
if newConfig.Zebra.Config.Enabled {