ospf6d: scrubbed some argc CHECK MEs

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
Daniel Walton 2016-09-30 05:09:42 +00:00
parent 4e626c014a
commit 14b16482c4
2 changed files with 168 additions and 515 deletions

View File

@ -1055,8 +1055,7 @@ DEFUN (show_ipv6_ospf6_interface_ifname_prefix,
OSPF6_STR OSPF6_STR
INTERFACE_STR INTERFACE_STR
IFNAME_STR IFNAME_STR
"Display connected prefixes to advertise\n" "Display connected prefixes to advertise\n")
)
{ {
/* CHECK ME argc referenced below */ /* CHECK ME argc referenced below */
int idx_ifname = 4; int idx_ifname = 4;
@ -1077,9 +1076,7 @@ DEFUN (show_ipv6_ospf6_interface_ifname_prefix,
return CMD_WARNING; return CMD_WARNING;
} }
argc--; ospf6_route_table_show (vty, 6, argc, argv, oi->route_connected);
argv++;
ospf6_route_table_show (vty, argc, argv, oi->route_connected);
return CMD_SUCCESS; return CMD_SUCCESS;
} }
@ -1132,7 +1129,7 @@ DEFUN (show_ipv6_ospf6_interface_prefix,
if (oi == NULL) if (oi == NULL)
continue; continue;
ospf6_route_table_show (vty, argc, argv, oi->route_connected); ospf6_route_table_show (vty, 5, argc, argv, oi->route_connected);
} }
return CMD_SUCCESS; return CMD_SUCCESS;

File diff suppressed because it is too large Load Diff