--- libaitrpc/src/cli.c 2015/01/18 01:03:49 1.23.2.2 +++ libaitrpc/src/cli.c 2015/01/18 01:11:35 1.23.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.23.2.2 2015/01/18 01:03:49 misho Exp $ +* $Id: cli.c,v 1.23.2.3 2015/01/18 01:11:35 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -350,6 +350,8 @@ rpc_pkt_Receive(int sock, int type, sockaddr_t * __res do { if (type == SOCK_STREAM) ret = rpc_Read(sock, type, !estlen ? MSG_PEEK : 0, NULL, buf, blen); + else if (type == SOCK_EXT) + ret = rpc_Read(sock, type, 0, NULL, buf, blen); else if (type == SOCK_BPF) { ret = rpc_Read(sock, type, 0, sa, AIT_GET_BUF(pkt), AIT_LEN(pkt)); if (ret > 0)