diff options
author | Christian Franke <chris@opensourcerouting.org> | 2018-05-29 19:55:42 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2018-09-05 11:38:13 +0200 |
commit | 32c248ef37ac01b2b27497fca93fb408d9c4bc1b (patch) | |
tree | 8da5b2590df30f71f113e1e722b443528b5f6e8c /isisd | |
parent | isis: Cleanup CLI, split into parts which are shared, fabricd and isisd (diff) | |
download | frr-32c248ef37ac01b2b27497fca93fb408d9c4bc1b.tar.xz frr-32c248ef37ac01b2b27497fca93fb408d9c4bc1b.zip |
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 <chris@opensourcerouting.org>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_vty_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_vty_common.c b/isisd/isis_vty_common.c index f1f49b962..dbe5beca6 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; } |