Merge pull request #144 from jof/jof/gobgp-neighborsstatus

GoBGP: Construct NeighborsStatus response
This commit is contained in:
Annika Hannig
2024-02-29 10:20:46 +01:00
committed by GitHub
+1
View File
@@ -130,6 +130,7 @@ func (gobgp *GoBGP) NeighborsStatus(
_resp.Peer.Timers.State.Uptime.Seconds,
int64(_resp.Peer.Timers.State.Uptime.Nanos)))
}
response.Neighbors = append(response.Neighbors, &ns)
}
return &response, nil