Skip to content

Commit

Permalink
do notprint zeroed mac_ap
Browse files Browse the repository at this point in the history
  • Loading branch information
ZerBea committed Sep 18, 2018
1 parent 8b08c29 commit aea0c7e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ qsort(aplist, aplistcount, APLIST_SIZE, sort_aplist_by_essid);
printf("\e[1;1H\e[2J");
for(c = 0; c < aplistcount; c++)
{
if(memcmp(zeiger->addr, &mac_null, 6) == 0)
{
break;
}
tvfd.tv_sec = zeiger->timestamp /1000000;
tvfd.tv_usec = 0;
strftime(timestring, 16, "%H:%M:%S", localtime(&tvfd.tv_sec));
Expand Down Expand Up @@ -470,11 +474,6 @@ for(c = 0; c < aplistcount; c++)
{
fprintf(stdout, " [CHANNEL %d]\n", zeiger->channel);
}
if(memcmp(zeiger->addr, &mac_null, 6) == 0)
{
break;
}

zeiger++;
}
fprintf(stdout, "INFO: cha=%d, rx=%llu, rx(dropped)=%llu, tx=%llu, err=%d %d\n"
Expand Down

0 comments on commit aea0c7e

Please sign in to comment.