diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/grpc_server.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go index c973e24b..40a567e4 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -197,11 +197,12 @@ func NewPeerFromConfigStruct(pconf *config.Neighbor) *Peer { TOTAL: s.Messages.Sent.Total, }, }, - Received: s.AdjTable.Received, - Accepted: s.AdjTable.Accepted, - Advertised: s.AdjTable.Advertised, - PeerAs: s.PeerAs, - PeerType: uint32(s.PeerType.ToInt()), + Received: s.AdjTable.Received, + Accepted: s.AdjTable.Accepted, + Advertised: s.AdjTable.Advertised, + PeerAs: s.PeerAs, + PeerType: uint32(s.PeerType.ToInt()), + NeighborAddress: pconf.State.NeighborAddress, }, Timers: &Timers{ Config: &TimersConfig{ |