From 4635014cbb1f403d4582698f1b0a23f5a879d5d0 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 20 Jul 2016 06:50:15 +0900 Subject: remove gRPC dependency from table/ Signed-off-by: FUJITA Tomonori --- gobgpd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gobgpd') diff --git a/gobgpd/main.go b/gobgpd/main.go index 7ad48f83..31029635 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -178,7 +178,7 @@ func main() { go bgpServer.Serve() // start grpc Server - grpcServer := server.NewGrpcServer(opts.GrpcHosts, bgpServer.GrpcReqCh) + grpcServer := server.NewGrpcServer(bgpServer, opts.GrpcHosts, bgpServer.GrpcReqCh) go func() { if err := grpcServer.Serve(); err != nil { log.Fatalf("failed to listen grpc port: %s", err) -- cgit v1.2.3