summaryrefslogtreecommitdiff
path: root/ripd/rip_offset.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-22 18:21:43 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-22 18:21:43 +0000
commit30814472b65886b2cdf4b62ed3ccc8cd087aaf4b (patch)
tree7732cff452d7f8f1c70f62bee51313f4d47bc621 /ripd/rip_offset.c
parent66c1ec097ed75f7161d00f6fb9fe6e76b10e0a6e (diff)
Revert "ripd: Fixup code to work under new way"
This reverts commit 224a3ed809ae23539cd49b85ada8516cb0b0a762.
Diffstat (limited to 'ripd/rip_offset.c')
-rw-r--r--ripd/rip_offset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ripd/rip_offset.c b/ripd/rip_offset.c
index 4778505328..0155f90ef0 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]->arg, argv[1]->arg, argv[2]->arg, NULL);
+ return rip_offset_list_set (vty, argv[0], argv[1], argv[2], 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]->arg, argv[1]->arg, argv[2]->arg, argv[3]->arg);
+ return rip_offset_list_set (vty, argv[0], argv[1], argv[2], argv[3]);
}
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]->arg, argv[1]->arg, argv[2]->arg, NULL);
+ return rip_offset_list_unset (vty, argv[0], argv[1], argv[2], 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]->arg, argv[1]->arg, argv[2]->arg, argv[3]->arg);
+ return rip_offset_list_unset (vty, argv[0], argv[1], argv[2], argv[3]);
}
static int