summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r--pkg/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index 3e5c5ebf..833bc6e9 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -3564,7 +3564,6 @@ func (s *BgpServer) MonitorPeer(ctx context.Context, r *api.MonitorPeerRequest,
PeerAs: msg.PeerAS,
LocalAs: msg.LocalAS,
NeighborAddress: msg.PeerAddress.String(),
- Id: msg.PeerID.String(),
NeighborInterface: msg.PeerInterface,
},
State: &api.PeerState{
@@ -3573,6 +3572,7 @@ func (s *BgpServer) MonitorPeer(ctx context.Context, r *api.MonitorPeerRequest,
NeighborAddress: msg.PeerAddress.String(),
SessionState: api.PeerState_SessionState(int(msg.State) + 1),
AdminState: api.PeerState_AdminState(msg.AdminState),
+ RouterId: msg.PeerID.String(),
},
Transport: &api.Transport{
LocalAddress: msg.LocalAddress.String(),