diff options
-rw-r--r-- | gobgp/cmd/neighbor.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gobgp/cmd/neighbor.go b/gobgp/cmd/neighbor.go index 09cac53f..2a577461 100644 --- a/gobgp/cmd/neighbor.go +++ b/gobgp/cmd/neighbor.go @@ -226,6 +226,10 @@ func showNeighbor(args []string) error { fmt.Printf(" Route Refesh: %10d %10d\n", p.Info.RefreshMessageOut, p.Info.RefreshMessageIn) fmt.Printf(" Discarded: %10d %10d\n", p.Info.DiscardedOut, p.Info.DiscardedIn) fmt.Printf(" Total: %10d %10d\n", p.Info.TotalMessageOut, p.Info.TotalMessageIn) + fmt.Print(" Route statistics:\n") + fmt.Printf(" Advertised: %10d\n", p.Info.Advertized) + fmt.Printf(" Received: %10d\n", p.Info.Received) + fmt.Printf(" Accepted: %10d\n", p.Info.Accepted) return nil } |