From 67656e9b65ab7c6bb979be72b4917cfd4a2241b6 Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Thu, 29 Sep 2016 17:48:57 +0000 Subject: all: added CHECK ME for DEFUNs that look at argc Signed-off-by: Daniel Walton --- isisd/isis_routemap.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'isisd/isis_routemap.c') diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c index a1f087548..6d130d08d 100644 --- a/isisd/isis_routemap.c +++ b/isisd/isis_routemap.c @@ -370,6 +370,7 @@ DEFUN (no_match_ip_address, "IP access-list number (expanded range)\n" "IP Access-list name\n") { + /* CHECK ME argc referenced below */ int idx_acl = 4; if (argc <= idx_acl) return isis_route_match_delete(vty, vty->index, "ip address", NULL); @@ -403,6 +404,7 @@ DEFUN (no_match_ip_address_prefix_list, "Match entries of prefix-lists\n" "IP prefix-list name\n") { + /* CHECK ME argc referenced below */ int idx_word = 5; if (argc <= idx_word) return isis_route_match_delete (vty, vty->index, "ip address prefix-list", NULL); @@ -434,6 +436,7 @@ DEFUN (no_match_ipv6_address, "Match IPv6 address of route\n" "IPv6 access-list name\n") { + /* CHECK ME argc referenced below */ int idx_word = 4; if (argc <= idx_word) return isis_route_match_delete(vty, vty->index, "ipv6 address", NULL); @@ -466,6 +469,7 @@ DEFUN (no_match_ipv6_address_prefix_list, "Match entries of prefix-lists\n" "IP prefix-list name\n") { + /* CHECK ME argc referenced below */ int idx_word = 5; if (argc <= idx_word) return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", NULL); @@ -497,6 +501,7 @@ DEFUN (no_set_metric, "Metric value for destination routing protocol\n" "Metric value\n") { + /* CHECK ME argc referenced below */ int idx_number = 3; if (argc <= idx_number) return isis_route_set_delete(vty, vty->index, "metric", NULL); -- cgit v1.2.3