--- libaitrpc/src/aitrpc.c 2024/03/20 16:32:35 1.21.4.1 +++ libaitrpc/src/aitrpc.c 2024/03/20 17:23:47 1.21.4.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.c,v 1.21.4.1 2024/03/20 16:32:35 misho Exp $ +* $Id: aitrpc.c,v 1.21.4.2 2024/03/20 17:23:47 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -155,6 +155,7 @@ try2read: salen = E_SOCKADDR_MAX; #ifndef __linux__ sa2.ss.ss_len = salen; + ether_addr_t bcst = {{ [0 ... sizeof bcst - 1] = 0xff }}; #endif if ((ret = poll(&pfd, 1, DEF_RPC_TIMEOUT * 1000)) < 1 || pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {