macsniff.cpp bugfix

This commit is contained in:
Klaus K Wilting 2018-08-04 18:29:44 +02:00
parent 2df6700b2d
commit 1ba8481474
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ bool mac_add(uint8_t *paddr, int8_t rssi, bool sniff_type) {
uint16_t hashedmac; // temporary buffer for generated hash value uint16_t hashedmac; // temporary buffer for generated hash value
uint32_t addr2int; // temporary buffer for shortened MAC uint32_t addr2int; // temporary buffer for shortened MAC
#ifdef VENDORFILTER #ifdef VENDORFILTER
uinit32_t vendor2int; // temporary buffer for Vendor OUI uint32_t vendor2int; // temporary buffer for Vendor OUI
#endif #endif
// only last 3 MAC Address bytes are used for MAC address anonymization // only last 3 MAC Address bytes are used for MAC address anonymization

View File

@ -12,7 +12,7 @@
#define PAYLOAD_ENCODER 2 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed #define PAYLOAD_ENCODER 2 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed
// Set this to include BLE counting and vendor filter functions // Set this to include BLE counting and vendor filter functions
//#define VENDORFILTER 1 // comment out if you want to count things, not people #define VENDORFILTER 1 // comment out if you want to count things, not people
#define BLECOUNTER 1 // comment out if you don't want BLE count, saves power & memory #define BLECOUNTER 1 // comment out if you don't want BLE count, saves power & memory
// BLE scan parameters // BLE scan parameters