summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gobgp/cmd/neighbor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobgp/cmd/neighbor.go b/gobgp/cmd/neighbor.go
index 91db2e0e..9b068c33 100644
--- a/gobgp/cmd/neighbor.go
+++ b/gobgp/cmd/neighbor.go
@@ -416,6 +416,7 @@ func showNeighborRib(r string, name string, args []string) error {
def := addr2AddressFamily(net.ParseIP(name))
switch r {
case CMD_GLOBAL:
+ def = bgp.RF_IPv4_UC
showBest = true
resource = api.Resource_GLOBAL
case CMD_LOCAL: