summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);
}