--- libaitrpc/src/srv.c 2014/12/18 00:50:06 1.23.6.6 +++ libaitrpc/src/srv.c 2014/12/19 02:12:49 1.23.6.7 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: srv.c,v 1.23.6.6 2014/12/18 00:50:06 misho Exp $ +* $Id: srv.c,v 1.23.6.7 2014/12/19 02:12:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -792,7 +792,7 @@ rxBPFPacket(sched_task_t *task) /* send RPC reply */ if (!noreply) - schedWrite(TASK_ROOT(task), cbProto[srv->srv_proto][CB_TXPACKET], + schedEvent(TASK_ROOT(task), cbProto[srv->srv_proto][CB_TXPACKET], c, TASK_FD(task), rpc, len); end: AIT_FREE_VAL(&b);