1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

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

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