summaryrefslogtreecommitdiffstats
path: root/isisd/isis_routemap.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 19:48:57 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 19:48:57 +0200
commit67656e9b65ab7c6bb979be72b4917cfd4a2241b6 (patch)
tree823937fe0aded2bcfad54dfdea570259bd4820ac /isisd/isis_routemap.c
parentospfd: minor parser fixes (diff)
downloadfrr-67656e9b65ab7c6bb979be72b4917cfd4a2241b6.tar.xz
frr-67656e9b65ab7c6bb979be72b4917cfd4a2241b6.zip
all: added CHECK ME for DEFUNs that look at argc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_routemap.c')
-rw-r--r--isisd/isis_routemap.c5
1 files changed, 5 insertions, 0 deletions
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);