Skip to content

Commit

Permalink
make gobgp grpc server listen only nodeip and 127.0.0.1 (#649)
Browse files Browse the repository at this point in the history
Fixes #640
  • Loading branch information
murali-reddy authored Jan 30, 2019
1 parent 62d0e86 commit e99b694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/routing/network_routes_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ func (nrc *NetworkRoutingController) startBgpServer() error {
nrc.bgpServer = gobgp.NewBgpServer()
go nrc.bgpServer.Serve()

g := bgpapi.NewGrpcServer(nrc.bgpServer, ":50051")
g := bgpapi.NewGrpcServer(nrc.bgpServer, nrc.nodeIP.String()+":50051"+","+"127.0.0.1:50051")
go g.Serve()

var localAddressList []string
Expand Down

0 comments on commit e99b694

Please sign in to comment.