From 4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Tue, 27 Sep 2016 17:51:06 +0000 Subject: [PATCH] ripd: argv not argc Signed-off-by: Quentin Young --- ripd/rip_routemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5