From cf0482d3943e7a1574d3e9986df6b72a5b40a1b3 Mon Sep 17 00:00:00 2001 From: Abhinandan prativadi Date: Fri, 6 May 2016 11:28:19 -0700 Subject: [PATCH] fixing list bgp (#351) --- netctl/netctl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netctl/netctl.go b/netctl/netctl.go index 75fd86e20..ea7ed68a3 100755 --- a/netctl/netctl.go +++ b/netctl/netctl.go @@ -545,11 +545,11 @@ func listBgp(ctx *cli.Context) { for _, group := range filtered { writer.Write( []byte(fmt.Sprintf("%v\t%v\t%v\t%v\t%v\n", - group.As, group.Hostname, + group.Routerip, + group.As, group.Neighbor, group.NeighborAs, - group.Routerip, ))) } }