diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-24 23:58:50 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-24 23:58:50 +0200 |
commit | 6af6be86163306886fe85e10a3b324cf57038957 (patch) | |
tree | 4ee479c24b98ce39693ff957823264607f80a5c0 /zebra/zserv.c | |
parent | zebra: fix zebra_routemap.c checkme's (diff) | |
download | frr-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.c | 4 |
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") |