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