mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 23:09:34 +00:00
Merge pull request #7795 from louis-oui/show-database-vrf
ospfd: fix no show database output when selecting vrf
This commit is contained in:
commit
46b0e93168
@ -7316,8 +7316,8 @@ DEFUN (show_ip_ospf_instance_database_type_adv_router,
|
|||||||
continue;
|
continue;
|
||||||
ospf_output = true;
|
ospf_output = true;
|
||||||
ret = show_ip_ospf_database_type_adv_router_common(
|
ret = show_ip_ospf_database_type_adv_router_common(
|
||||||
vty, ospf, idx ? 1 : 0, argc, argv,
|
vty, ospf, 2, argc, argv, use_vrf, json,
|
||||||
use_vrf, json, uj);
|
uj);
|
||||||
}
|
}
|
||||||
if (!ospf_output)
|
if (!ospf_output)
|
||||||
vty_out(vty, "%% OSPF instance not found\n");
|
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(
|
ret = show_ip_ospf_database_type_adv_router_common(
|
||||||
vty, ospf, idx ? 1 : 0, argc, argv, use_vrf,
|
vty, ospf, 2, argc, argv, use_vrf, json, uj);
|
||||||
json, uj);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Display default ospf (instance 0) info */
|
/* Display default ospf (instance 0) info */
|
||||||
|
Loading…
Reference in New Issue
Block a user