--- libaitrpc/src/cli.c 2012/03/28 11:07:36 1.7.2.1 +++ libaitrpc/src/cli.c 2012/03/29 00:46:17 1.7.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.7.2.1 2012/03/28 11:07:36 misho Exp $ +* $Id: cli.c,v 1.7.2.2 2012/03/29 00:46:17 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -352,6 +352,8 @@ rpc_cli_execCall(rpc_cli_t *cli, int noreply, const ch } else wlen += ret; } + + rpc->call_len = htons(wlen); /* calculate CRC */ rpc->call_crc ^= rpc->call_crc;