summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gobgp/main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/gobgp/main.go b/gobgp/main.go
index 3028073c..ad8f6a46 100644
--- a/gobgp/main.go
+++ b/gobgp/main.go
@@ -506,10 +506,6 @@ func (x *ShowNeighborsCommand) Execute(args []string) error {
fmt.Printf(format, p.Conf.RemoteIp, fmt.Sprint(p.Conf.RemoteAs), timedelta[i], format_fsm(p.Info.AdminState, p.Info.BgpState), fmt.Sprint(p.Info.Advertized), fmt.Sprint(p.Info.Received), fmt.Sprint(p.Info.Accepted))
}
- for i, p := range m {
- fmt.Printf(format, p.Conf.RemoteIp, fmt.Sprint(p.Conf.RemoteAs), timedelta[i], format_fsm(p.Info.AdminState, p.Info.BgpState), fmt.Sprint(p.Info.Advertized), fmt.Sprint(p.Info.Received), fmt.Sprint(p.Info.Accepted))
- }
-
return nil
}