mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 15:10:06 +01:00
Fixed clientScan bug
This commit is contained in:
@@ -89,10 +89,8 @@ void ClientScan::packetSniffer(uint8_t *buf, uint16_t len){
|
|||||||
|
|
||||||
for(int i=0;i<apScan.results;i++){
|
for(int i=0;i<apScan.results;i++){
|
||||||
if(apScan.isSelected(i)){
|
if(apScan.isSelected(i)){
|
||||||
if(apScan.aps._get(i).compare(from) || apScan.aps._get(i).compare(to)){
|
if(apScan.aps._get(i).compare(from)){
|
||||||
int clientNum = -2;
|
int clientNum = clientNum = clients.getNum(to);
|
||||||
if(apScan.aps._get(i).compare(from)) clientNum = clients.getNum(to);
|
|
||||||
else clientNum = clients.getNum(from);
|
|
||||||
if(clientNum == -1 && results < maxClientScanResults){
|
if(clientNum == -1 && results < maxClientScanResults){
|
||||||
data_getVendor(to._get(0),to._get(1),to._get(2)).toCharArray(vendors[results],9);
|
data_getVendor(to._get(0),to._get(1),to._get(2)).toCharArray(vendors[results],9);
|
||||||
results++;
|
results++;
|
||||||
|
|||||||
Reference in New Issue
Block a user