summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-30 05:09:42 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-30 05:09:42 +0000
commit14b16482c4800302d9c4f0542e5e668d2afa446e (patch)
tree2ee2d1cc333e45a3f02c434ad93624a4a1293a82 /ospf6d/ospf6_interface.c
parent4e626c014a108fb675131ebd9ba70fc9c7ffed80 (diff)
ospf6d: scrubbed some argc CHECK MEs
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
-rw-r--r--ospf6d/ospf6_interface.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index c08d4ee840..5002222f15 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -1055,8 +1055,7 @@ DEFUN (show_ipv6_ospf6_interface_ifname_prefix,
OSPF6_STR
INTERFACE_STR
IFNAME_STR
- "Display connected prefixes to advertise\n"
- )
+ "Display connected prefixes to advertise\n")
{
/* CHECK ME argc referenced below */
int idx_ifname = 4;
@@ -1077,9 +1076,7 @@ DEFUN (show_ipv6_ospf6_interface_ifname_prefix,
return CMD_WARNING;
}
- argc--;
- argv++;
- ospf6_route_table_show (vty, argc, argv, oi->route_connected);
+ ospf6_route_table_show (vty, 6, argc, argv, oi->route_connected);
return CMD_SUCCESS;
}
@@ -1132,7 +1129,7 @@ DEFUN (show_ipv6_ospf6_interface_prefix,
if (oi == NULL)
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;