From 6af6be86163306886fe85e10a3b324cf57038957 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Sat, 24 Sep 2016 21:58:50 +0000 Subject: [PATCH] zebra: refactor zserv.c Signed-off-by: Quentin Young --- zebra/zserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.5