diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-27 19:51:06 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-27 19:51:06 +0200 |
commit | 4f026db15ae98fa8c3f1e8c7ff6cf16bdd1085fd (patch) | |
tree | 001688a6157bae8921d776e86f00fc4f01b95537 /ripd/rip_routemap.c | |
parent | ripd: resolve rip_routemap.c CHECK ME's (diff) | |
download | frr-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.c | 2 |
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); } |