From: Quentin Young Date: Tue, 27 Sep 2016 17:51:06 +0000 (+0000) Subject: ripd: argv not argc X-Git-Tag: frr-3.0-branchpoint~129^2~137 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd;p=matthieu%2Ffrr.git ripd: argv not argc Signed-off-by: Quentin Young --- 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); }