--- libaitrpc/src/srv.c 2014/12/17 01:30:01 1.23.6.3 +++ libaitrpc/src/srv.c 2014/12/17 01:31:21 1.23.6.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: srv.c,v 1.23.6.3 2014/12/17 01:30:01 misho Exp $ +* $Id: srv.c,v 1.23.6.4 2014/12/17 01:31:21 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -721,8 +721,8 @@ rxBPFPacket(sched_task_t *task) rpc_cli_t *c = NULL; int len, rlen, noreply, estlen; u_short crc; - u_char *buf, b[sizeof(struct tagRPCCall)]; - struct tagRPCCall *rpc = (struct tagRPCCall*) b; + u_char *buf; + struct tagRPCCall *rpc; sockaddr_t sa; socklen_t salen; struct timespec ts = { DEF_RPC_TIMEOUT, 0 }; @@ -743,7 +743,6 @@ rxBPFPacket(sched_task_t *task) eh = (struct ether_header*) (AIT_GET_BUF(&b) + h->bh_hdrlen); buf = (u_char*) (eh + 1); } - if () c = _allocClient(srv, &sa); if (!c) {