diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-23 02:01:25 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-23 02:01:25 +0200 |
commit | 558e4c284b30ac90b7c8a9e2f8cefd368fe98c9f (patch) | |
tree | d8685ad59e537b28090c61c7a84fd3174da0553c /ripd/rip_offset.c | |
parent | ripngd: argv update (diff) | |
download | frr-558e4c284b30ac90b7c8a9e2f8cefd368fe98c9f.tar.xz frr-558e4c284b30ac90b7c8a9e2f8cefd368fe98c9f.zip |
ripd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_offset.c')
-rw-r--r-- | ripd/rip_offset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ripd/rip_offset.c b/ripd/rip_offset.c index 0155f90ef..be734c66d 100644 --- a/ripd/rip_offset.c +++ b/ripd/rip_offset.c @@ -289,7 +289,7 @@ DEFUN (rip_offset_list, "For outgoing updates\n" "Metric value\n") { - return rip_offset_list_set (vty, argv[0], argv[1], argv[2], NULL); + return rip_offset_list_set (vty, argv[1]->arg, argv[2]->arg, argv[3]->arg, NULL); } DEFUN (rip_offset_list_ifname, @@ -302,7 +302,7 @@ DEFUN (rip_offset_list_ifname, "Metric value\n" "Interface to match\n") { - return rip_offset_list_set (vty, argv[0], argv[1], argv[2], argv[3]); + return rip_offset_list_set (vty, argv[1]->arg, argv[2]->arg, argv[3]->arg, argv[4]->arg); } DEFUN (no_rip_offset_list, @@ -315,7 +315,7 @@ DEFUN (no_rip_offset_list, "For outgoing updates\n" "Metric value\n") { - return rip_offset_list_unset (vty, argv[0], argv[1], argv[2], NULL); + return rip_offset_list_unset (vty, argv[2]->arg, argv[3]->arg, argv[4]->arg, NULL); } DEFUN (no_rip_offset_list_ifname, @@ -329,7 +329,7 @@ DEFUN (no_rip_offset_list_ifname, "Metric value\n" "Interface to match\n") { - return rip_offset_list_unset (vty, argv[0], argv[1], argv[2], argv[3]); + return rip_offset_list_unset (vty, argv[2]->arg, argv[3]->arg, argv[4]->arg, argv[5]->arg); } static int |