summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_routemap.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 21:51:56 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 21:51:56 +0200
commitabddf07563b9f00b6e256abf52b191f7c57655af (patch)
tree7887ac08b49341e8d1ad74c05c07256d0a7846e8 /ripngd/ripng_routemap.c
parentbgpd and zebra: scrubbed argc CHECK MEs (diff)
downloadfrr-abddf07563b9f00b6e256abf52b191f7c57655af.tar.xz
frr-abddf07563b9f00b6e256abf52b191f7c57655af.zip
all: scrubbed some argc CHECK MEs
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ripngd/ripng_routemap.c')
-rw-r--r--ripngd/ripng_routemap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ripngd/ripng_routemap.c b/ripngd/ripng_routemap.c
index 52aae9aff..6ecf08466 100644
--- a/ripngd/ripng_routemap.c
+++ b/ripngd/ripng_routemap.c
@@ -519,7 +519,6 @@ DEFUN (no_match_metric,
"Match metric of route\n"
"Metric value\n")
{
- /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_match_delete (vty, vty->index, "metric", mval);
}
@@ -544,7 +543,6 @@ DEFUN (no_match_interface,
"Match first hop interface of route\n"
"Interface name\n")
{
- /* CHECK ME argc referenced below */
char *iface = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_match_delete (vty, vty->index, "interface", iface);
}
@@ -569,7 +567,6 @@ DEFUN (no_match_tag,
"Match tag of route\n"
"Metric value\n")
{
- /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_match_delete (vty, vty->index, "tag", mval);
}
@@ -596,7 +593,6 @@ DEFUN (no_set_metric,
"Metric value for destination routing protocol\n"
"Metric value\n")
{
- /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_set_delete (vty, vty->index, "metric", mval);
}
@@ -641,7 +637,6 @@ DEFUN (no_set_ipv6_nexthop_local,
"IPv6 local address\n"
"IPv6 address of next hop\n")
{
- /* CHECK ME argc referenced below */
char *addr = (argc == 6) ? argv[5]->arg : NULL;
return ripng_route_set_delete (vty, vty->index, "ipv6 next-hop local", addr);
}
@@ -666,7 +661,6 @@ DEFUN (no_set_tag,
"Tag value for routing protocol\n"
"Tag value\n")
{
- /* CHECK ME argc referenced below */
char *tag = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_set_delete (vty, vty->index, "tag", tag);
}