if (us >= 1000) {
ms = us / 1000;
us %= 1000;
+ (void)us; /* unused */
}
if (ms >= 1000) {
"debug ospf zebra [<interface|redistribute>]",
DEBUG_STR
OSPF_STR
- "OSPF Zebra information\n"
+ ZEBRA_STR
"Zebra interface\n"
"Zebra redistribute\n")
{
DEBUG_STR
OSPF_STR
"Instance ID\n"
- "OSPF Zebra information\n"
+ ZEBRA_STR
"Zebra interface\n"
"Zebra redistribute\n")
{
NO_STR
DEBUG_STR
OSPF_STR
- "OSPF Zebra information\n"
+ ZEBRA_STR
"Zebra interface\n"
"Zebra redistribute\n")
{
DEBUG_STR
OSPF_STR
"Instance ID\n"
- "OSPF Zebra information\n"
+ ZEBRA_STR
"Zebra interface\n"
"Zebra redistribute\n")
{
DEBUG_STR
OSPF_STR)
{
- struct ospf *ospf;
+ struct ospf *ospf = NULL;
- if ((ospf = ospf_lookup()) == NULL)
+ ospf = ospf_lookup_by_vrf_id(VRF_DEFAULT);
+ if (ospf == NULL)
return CMD_SUCCESS;
return show_debugging_ospf_common(vty, ospf);
char str[16];
memset(str, 0, 16);
- if ((ospf = ospf_lookup()) == NULL)
+ ospf = ospf_lookup_by_vrf_id(VRF_DEFAULT);
+ if (ospf == NULL)
return CMD_SUCCESS;
if (ospf->instance)