From: Quentin Young Date: Sat, 24 Sep 2016 21:58:50 +0000 (+0000) Subject: zebra: refactor zserv.c X-Git-Tag: frr-3.0-branchpoint~129^2~166 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6af6be86163306886fe85e10a3b324cf57038957;p=matthieu%2Ffrr.git zebra: refactor zserv.c Signed-off-by: Quentin Young --- diff --git a/zebra/zserv.c b/zebra/zserv.c index fc7b41954d..5c4957a682 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")