if (uPacketSXVersion >= 3) { uint32 dwIDED2K = ntohl(dwID); // check the HighID(IP) - "Filter LAN IPs" and "IPfilter" the received sources IP addresses /* if (!IsLowID(dwID)) */ //Enig123::should be hybrid format instead if (!IsLowID(dwIDED2K)) { if (!IsGoodIP(dwIDED2K))
where the dwID should be dwIDED2K instead, or else some bogus or IPFiltered ips will not be actually checked.