summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-09-24 23:58:50 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-09-24 23:58:50 +0200
commit6af6be86163306886fe85e10a3b324cf57038957 (patch)
tree4ee479c24b98ce39693ff957823264607f80a5c0 /zebra/zserv.c
parentzebra: fix zebra_routemap.c checkme's (diff)
downloadfrr-6af6be86163306886fe85e10a3b324cf57038957.tar.xz
frr-6af6be86163306886fe85e10a3b324cf57038957.zip
zebra: refactor zserv.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r--zebra/zserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index fc7b41954..5c4957a68 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -2263,13 +2263,13 @@ DEFUN (config_table,
"Configure target kernel routing table\n"
"TABLE integer\n")
{
- zebrad.rtm_table_default = strtol (argv[0], (char**)0, 10);
+ zebrad.rtm_table_default = strtol (argv[1]->arg, (char**)0, 10);
return CMD_SUCCESS;
}
DEFUN (no_config_table,
no_config_table_cmd,
- "no table TABLENO",
+ "no table [TABLENO]",
NO_STR
"Configure target kernel routing table\n"
"TABLE integer\n")