mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:27:42 +00:00
ripd: argv not argc
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
8b57682576
commit
4f026db15a
@ -754,7 +754,7 @@ DEFUN (no_match_metric,
|
|||||||
"Match metric of route\n"
|
"Match metric of route\n"
|
||||||
"Metric value\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);
|
return rip_route_match_delete (vty, vty->index, "metric", mval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user