diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-04-17 08:05:01 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-04-17 08:05:01 +0000 |
commit | 897ad184ae319837e00318b7902c7c96db6a17ff (patch) | |
tree | c1a3cd57b1086422af5e60db59cf5d3ad9705935 | |
parent | 46033d74fb127cc5b080f766c971bca2b65a4647 (diff) |
gobgp: fix showing neighbor info twice
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | gobgp/main.go | 4 |
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 } |