@ -142,7 +142,8 @@ getInterfaceIndex(int sock, const char* deviceName)
return -1;
}
ifr.ifr_flags |= IFF_PROMISC;
/* replace IFF_ALLMULTI by IFF_PROMISC to also receive unicast messages for other nodes */
ifr.ifr_flags |= IFF_ALLMULTI;
if (ioctl (sock, SIOCSIFFLAGS, &ifr) == -1)
{
if (DEBUG_SOCKET)