Update macsniff.cpp

fix issue #675
This commit is contained in:
Verkehrsrot authored and GitHub committed 2020-11-24 22:12:47 +01:00
1 parent 7f20c198b9
commit e4270cb473
1 file changed
+1 -1
+1 -1
View File
@@ -134,7 +134,7 @@ uint16_t mac_analyze(MacBuffer_t MacBuffer) {
uint32_t *oui; // temporary buffer for vendor OUI
oui = (uint32_t *)MacBuffer.mac;
// 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())
return 0;
#endif