summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-12-29 15:53:28 -0500
committerGitHub <noreply@github.com>2020-12-29 15:53:28 -0500
commit46b0e9316813ec6113d4588a54c3b151cbb26f3a (patch)
tree8c63b1d84f7bb6467e7c4b3ce356503a3c318eb8
parent19ff5340a1b65d13fdfc804260543feac863a7fd (diff)
parentd68e47e16210d0a85edab25508be88094ac0f65f (diff)
Merge pull request #7795 from louis-oui/show-database-vrf
ospfd: fix no show database output when selecting vrf
-rw-r--r--ospfd/ospf_vty.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 0408462110..6052d48e83 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -7316,8 +7316,8 @@ DEFUN (show_ip_ospf_instance_database_type_adv_router,
continue;
ospf_output = true;
ret = show_ip_ospf_database_type_adv_router_common(
- vty, ospf, idx ? 1 : 0, argc, argv,
- use_vrf, json, uj);
+ vty, ospf, 2, argc, argv, use_vrf, json,
+ uj);
}
if (!ospf_output)
vty_out(vty, "%% OSPF instance not found\n");
@@ -7329,8 +7329,7 @@ DEFUN (show_ip_ospf_instance_database_type_adv_router,
}
ret = show_ip_ospf_database_type_adv_router_common(
- vty, ospf, idx ? 1 : 0, argc, argv, use_vrf,
- json, uj);
+ vty, ospf, 2, argc, argv, use_vrf, json, uj);
}
} else {
/* Display default ospf (instance 0) info */