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:
@@ -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
|
||||
|
Reference in New Issue
Block a user