From b239961186b14dc1348e5e56fa012a23607a0e41 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Thu, 26 Nov 2020 21:31:46 +0100 Subject: [PATCH] issue #675 --- src/macsniff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macsniff.cpp b/src/macsniff.cpp index 798de95f..e25e6cf8 100644 --- a/src/macsniff.cpp +++ b/src/macsniff.cpp @@ -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