summaryrefslogtreecommitdiffhomepage
path: root/server/grpc_server.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-22 15:25:08 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-22 15:29:29 +0900
commitc0e0aafa749f893d7b4f75a8dd7b93fea8153cdc (patch)
treed2945b296e97bf99126cf95c7829bd77a1ebb1f7 /server/grpc_server.go
parent406efffa74eadb44826e4b464dc2fbabdddf72c4 (diff)
gobgpd/gobgp: change grcp port to 50051 from 8080
also add an option to change grpc port Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/grpc_server.go')
-rw-r--r--server/grpc_server.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/grpc_server.go b/server/grpc_server.go
index 85652c75..924566ca 100644
--- a/server/grpc_server.go
+++ b/server/grpc_server.go
@@ -66,8 +66,6 @@ const (
REQ_MOD_POLICY_ASSIGNMENT
)
-const GRPC_PORT = 8080
-
type Server struct {
grpcServer *grpc.Server
bgpServerCh chan *GrpcRequest