From 0898870e683b191b1897a7a597255d16c7b6df60 Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Fri, 22 Mar 2019 16:13:51 +0100 Subject: [PATCH] Re-inserted `cli_output_reset` for what was erroneuos thought to be an obsole\ te function --- CHANGELOG.md | 2 ++ apps/cli/cli_plugin.c | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 202c250f..1c548fb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,8 @@ * Added libgen.h for baseline() ### Corrected Bugs +* Re-inserted `cli_output_reset` for what was erroneuos thought to be an obsolete function ( + * See in 3.9.0 minro changes: Replaced all calls to (obsolete) `cli_output` with `fprintf` * Allowed Yang extended Xpath functions (syntax only): * re-match, deref, derived-from, derived-from-or-self, enum-value, bit-is-set * XSD regular expression handling of dash(`-`) diff --git a/apps/cli/cli_plugin.c b/apps/cli/cli_plugin.c index 19e438f1..2b2f5791 100644 --- a/apps/cli/cli_plugin.c +++ b/apps/cli/cli_plugin.c @@ -455,6 +455,7 @@ clicon_eval(clicon_handle h, { int retval = 0; + cli_output_reset(); if (!cligen_exiting(cli_cligen(h))) { clicon_err_reset(); if ((retval = cligen_eval(cli_cligen(h), match_obj, cvv)) < 0) {