summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-04 23:05:07 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-04 23:05:07 +0900
commit1a72f3c41b3e7ad076a5fd8e020f26f35b9e4a62 (patch)
treeeac75490359a831cee30c9f1207ca8e89a3545fd
parent6f8db811e0958acda8dd1ea31028083abfd597e0 (diff)
gobgp: fix showing rib with a specific route family
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--gobgp/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/main.go b/gobgp/main.go
index 6ae9a0e1..364dc963 100644
--- a/gobgp/main.go
+++ b/gobgp/main.go
@@ -355,7 +355,7 @@ func (x *ShowNeighborRibCommand) Execute(args []string) error {
rt = "ipv6"
}
} else {
- rt = args[1]
+ rt = args[0]
}
b := get("neighbor/" + x.remoteIP.String() + "/" + x.resource + "/" + rt)