--- libaitrpc/src/srv.c 2015/03/09 22:25:35 1.25.2.4 +++ libaitrpc/src/srv.c 2015/05/18 14:50:12 1.25.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: srv.c,v 1.25.2.4 2015/03/09 22:25:35 misho Exp $ +* $Id: srv.c,v 1.25.2.5 2015/05/18 14:50:12 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -820,6 +820,7 @@ rxRAWPacket(sched_task_t *task) len -= sa.sa.sa_family == AF_INET ? sizeof(struct ip) : sizeof(struct ip6_hdr); memmove(AIT_GET_BUF(&c->cli_buf), rpc, len); + rpc = (struct tagRPCCall*) AIT_GET_BUF(&c->cli_buf); /* skip loop packet */ if (rpc->call_io & RPC_ACK)