diff options
-rw-r--r-- | gobgp/cmd/neighbor.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobgp/cmd/neighbor.go b/gobgp/cmd/neighbor.go index f533f946..318fc05b 100644 --- a/gobgp/cmd/neighbor.go +++ b/gobgp/cmd/neighbor.go @@ -169,8 +169,8 @@ func showNeighbor(args []string) error { fmt.Printf(" BGP version 4, remote router ID %s\n", id) fmt.Printf(" BGP state = %s, up for %s\n", p.State.SessionState, formatTimedelta(int64(p.Timers.State.Uptime)-time.Now().Unix())) fmt.Printf(" BGP OutQ = %d, Flops = %d\n", p.State.Queues.Output, p.State.Flops) - fmt.Printf(" Hold time is %d, keepalive interval is %d seconds\n", p.Timers.State.NegotiatedHoldTime, p.Timers.State.KeepaliveInterval) - fmt.Printf(" Configured hold time is %d, keepalive interval is %d seconds\n", p.Timers.Config.HoldTime, p.Timers.Config.KeepaliveInterval) + fmt.Printf(" Hold time is %d, keepalive interval is %d seconds\n", int(p.Timers.State.NegotiatedHoldTime), int(p.Timers.State.KeepaliveInterval)) + fmt.Printf(" Configured hold time is %d, keepalive interval is %d seconds\n", int(p.Timers.Config.HoldTime), int(p.Timers.Config.KeepaliveInterval)) fmt.Printf(" Neighbor capabilities:\n") caps := capabilities{} |