summaryrefslogtreecommitdiff
path: root/ripd/rip_routemap.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-09-27 17:51:06 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-09-27 17:51:06 +0000
commit4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd (patch)
tree001688a6157bae8921d776e86f00fc4f01b95537 /ripd/rip_routemap.c
parent8b5768257654160bdf58db1c78b9d7c7cd04a088 (diff)
ripd: argv not argc
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_routemap.c')
-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 ecff6e766d..e1017cfb27 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);
}