From 26ea71ec55687d897c9aabed22ebaec67dbe56a3 Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Tue, 25 May 2021 17:37:17 +0500 Subject: cli: fix absent OK status for 'show version' fix 4b52c1a3590b43ca892c460d9b1478e1da742156 --- accel-pppd/cli/std_cmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accel-pppd/cli/std_cmd.c b/accel-pppd/cli/std_cmd.c index e22ea76..e4eddb2 100644 --- a/accel-pppd/cli/std_cmd.c +++ b/accel-pppd/cli/std_cmd.c @@ -87,6 +87,8 @@ static void show_stat_help(char * const *fields, int fields_cnt, void *client) static int show_version_exec(const char *cmd, char * const *fields, int fields_cnt, void *client) { cli_sendv(client, "%s\r\n", ACCEL_PPP_VERSION); + + return CLI_CMD_OK; } static void show_version_help(char * const *fields, int fields_cnt, void *client) -- cgit v1.2.3