Skip to content

Commit cf0482d

Browse files
abhishaleman
authored andcommitted
fixing list bgp (#351)
1 parent aff2602 commit cf0482d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netctl/netctl.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,11 @@ func listBgp(ctx *cli.Context) {
545545
for _, group := range filtered {
546546
writer.Write(
547547
[]byte(fmt.Sprintf("%v\t%v\t%v\t%v\t%v\n",
548-
group.As,
549548
group.Hostname,
549+
group.Routerip,
550+
group.As,
550551
group.Neighbor,
551552
group.NeighborAs,
552-
group.Routerip,
553553
)))
554554
}
555555
}

0 commit comments

Comments
 (0)