From 49448ac67d61bf769e0b443a4dccd9972ebae117 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 29 Mar 2019 12:50:10 +0900 Subject: server: fix ListPath handle UseMultiPath option Signed-off-by: FUJITA Tomonori --- cmd/gobgp/neighbor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/gobgp/neighbor.go b/cmd/gobgp/neighbor.go index fbb7b52d..9acb4f18 100644 --- a/cmd/gobgp/neighbor.go +++ b/cmd/gobgp/neighbor.go @@ -496,7 +496,7 @@ func getPathSymbolString(p *api.Path, idx int, showBest bool) string { } if showBest { - if idx == 0 && !p.IsNexthopInvalid { + if p.Best && !p.IsNexthopInvalid { symbols += "*>" } else { symbols += "* " -- cgit v1.2.3