From a129756c6cf3c52557c3cd1491abce8ebb3f40c9 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Mon, 15 Feb 2021 12:54:09 +0100 Subject: [PATCH] Fixed: [Is there an error with plugin's ca_interrupt setting ? #173](https://github.com/clicon/clixon/issues/173) --- CHANGELOG.md | 1 + apps/cli/cli_plugin.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7dc63a6..8ee262ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,6 +112,7 @@ Developers may need to change their code ### Corrected Bugs +* Fixed: [Is there an error with plugin's ca_interrupt setting ? #173](https://github.com/clicon/clixon/issues/173) * Fixed: unknown nodes (for extenstions) did not work when placed directly under a grouping clause * Fixed: [Behaviour of Empty LIST Input in RESTCONF JSON #166](https://github.com/clicon/clixon/issues/166) * Netconf split lines input (input fragments) fixed diff --git a/apps/cli/cli_plugin.c b/apps/cli/cli_plugin.c index f11c429a..818b34c0 100644 --- a/apps/cli/cli_plugin.c +++ b/apps/cli/cli_plugin.c @@ -460,7 +460,7 @@ cli_syntax_load(clicon_handle h) if (cli_susp_hook(h, fns) < 0) goto done; if (fni==NULL && (fni = cp->cp_api.ca_interrupt) != NULL) - if (cli_susp_hook(h, fns) < 0) + if (cli_interrupt_hook(h, fni) < 0) goto done; }