diff options
Diffstat (limited to 'tools/grpc/ruby')
-rw-r--r-- | tools/grpc/ruby/get_neighbors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grpc/ruby/get_neighbors.rb b/tools/grpc/ruby/get_neighbors.rb index 83ed9155..e47b7913 100644 --- a/tools/grpc/ruby/get_neighbors.rb +++ b/tools/grpc/ruby/get_neighbors.rb @@ -4,7 +4,7 @@ require 'gobgp_services' host = 'localhost' host = ARGV[0] if ARGV.length > 0 -stub = Gobgpapi::GobgpApi::Stub.new("#{host}:8080") +stub = Gobgpapi::GobgpApi::Stub.new("#{host}:50051") arg = Gobgpapi::Arguments.new() stub.get_neighbors(arg).each do |n| puts "BGP neighbor is #{n.conf.neighbor_address}, remote AS #{n.conf.peer_as}" |