This commit is contained in:
Klaus K Wilting 2020-11-26 21:31:46 +01:00
parent 6896807c33
commit b239961186

View File

@ -134,7 +134,7 @@ uint16_t mac_analyze(MacBuffer_t MacBuffer) {
uint32_t *oui; // temporary buffer for vendor OUI uint32_t *oui; // temporary buffer for vendor OUI
oui = (uint32_t *)MacBuffer.mac; oui = (uint32_t *)MacBuffer.mac;
// if we find OUI on vendor filter list we don't analyze and return early // if we find OUI on vendor filter list we don't analyze and return early
if (std::find(vendors.begin(), vendors.end(), __builtin_bswap32(*oui) >> 8) != if (std::find(vendors.begin(), vendors.end(), __builtin_bswap32(*oui) >> 8) ==
vendors.end()) vendors.end())
return 0; return 0;
#endif #endif