Skip to content

Commit

Permalink
fix gobmp mrt command downtime
Browse files Browse the repository at this point in the history
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
  • Loading branch information
fujita committed Feb 14, 2022
1 parent 26ed14a commit 5d96988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/gobgp/bmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func showStations() error {
if r.State.Uptime.AsTime().After(r.State.Downtime.AsTime()) {
s = "Up"
} else {
uptime = fmt.Sprint(formatTimedelta(r.State.Downtime.AsTime()))
s = "Down"
}
}
Expand Down

0 comments on commit 5d96988

Please sign in to comment.