diff options
Diffstat (limited to 'tools/grpc/cpp/gobgp_api_client.cc')
-rw-r--r-- | tools/grpc/cpp/gobgp_api_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grpc/cpp/gobgp_api_client.cc b/tools/grpc/cpp/gobgp_api_client.cc index 2d0b0960..4780ded7 100644 --- a/tools/grpc/cpp/gobgp_api_client.cc +++ b/tools/grpc/cpp/gobgp_api_client.cc @@ -245,7 +245,7 @@ class GrpcClient { }; int main(int argc, char** argv) { - GrpcClient gobgp_client(grpc::CreateChannel("localhost:8080", grpc::InsecureChannelCredentials())); + GrpcClient gobgp_client(grpc::CreateChannel("localhost:50051", grpc::InsecureChannelCredentials())); std::string reply = gobgp_client.GetNeighbor("213.133.111.200"); std::cout << "Neighbor information: " << reply << std::endl; |