summaryrefslogtreecommitdiffstats
path: root/ripd/rip_routemap.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-09-27 19:51:06 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-09-27 19:51:06 +0200
commit4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd (patch)
tree001688a6157bae8921d776e86f00fc4f01b95537 /ripd/rip_routemap.c
parentripd: resolve rip_routemap.c CHECK ME's (diff)
downloadfrr-4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd.tar.xz
frr-4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd.zip
ripd: argv not argc
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--ripd/rip_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c
index ecff6e766..e1017cfb2 100644
--- a/ripd/rip_routemap.c
+++ b/ripd/rip_routemap.c
@@ -754,7 +754,7 @@ DEFUN (no_match_metric,
"Match metric of route\n"
"Metric value\n")
{
- char *mval = (argc == 4) ? argc[3]->arg : NULL;
+ char *mval = (argc == 4) ? argv[3]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "metric", mval);
}