summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-03-29 12:50:10 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-03-29 14:00:13 +0900
commit49448ac67d61bf769e0b443a4dccd9972ebae117 (patch)
tree1c4e3368e103fdda90f36193eab053bba3416d51 /cmd
parent8ee5f62074c63d82eed8082102737f7a4a3d4080 (diff)
server: fix ListPath handle UseMultiPath option
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgp/neighbor.go2
1 files changed, 1 insertions, 1 deletions
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 += "* "