diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/grpc_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go index e429e456..43960620 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -107,7 +107,7 @@ func (s *Server) GetNeighbor(ctx context.Context, arg *GetNeighborRequest) (*Get return &Peer{ Conf: &PeerConf{ NeighborAddress: pconf.Config.NeighborAddress, - Id: s.Description, + Id: s.RemoteRouterId, PeerAs: pconf.Config.PeerAs, LocalAs: pconf.Config.LocalAs, PeerType: uint32(pconf.Config.PeerType.ToInt()), |