From 32c248ef37ac01b2b27497fca93fb408d9c4bc1b Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 29 May 2018 19:55:42 +0200 Subject: [PATCH] isisd: Fix error output for 'no ip router isis' command The 'no ip router isis' command would incorrectly output the afi if the area to delete does not exist. Make it output the area name instead. Signed-off-by: Christian Franke --- isisd/isis_vty_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isisd/isis_vty_common.c b/isisd/isis_vty_common.c index f1f49b962b..dbe5beca6e 100644 --- a/isisd/isis_vty_common.c +++ b/isisd/isis_vty_common.c @@ -138,7 +138,7 @@ DEFUN (no_ip_router_isis, area = isis_area_lookup(area_tag); if (!area) { vty_out(vty, "Can't find ISIS instance %s\n", - argv[idx_afi]->arg); + area_tag); return CMD_ERR_NO_MATCH; } -- 2.39.5