summaryrefslogtreecommitdiffstats
path: root/ripd/rip_offset.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-09-21 05:41:24 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-21 05:41:24 +0200
commit224a3ed809ae23539cd49b85ada8516cb0b0a762 (patch)
treea00fabc0dfe0443c91c7332d96793b1cb85ce019 /ripd/rip_offset.c
parentpimd: Convert to the new way of working (diff)
downloadfrr-224a3ed809ae23539cd49b85ada8516cb0b0a762.tar.xz
frr-224a3ed809ae23539cd49b85ada8516cb0b0a762.zip
ripd: Fixup code to work under new way
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 0155f90ef..477850532 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[0]->arg, argv[1]->arg, argv[2]->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[0]->arg, argv[1]->arg, argv[2]->arg, argv[3]->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[0]->arg, argv[1]->arg, argv[2]->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[0]->arg, argv[1]->arg, argv[2]->arg, argv[3]->arg);
}
static int