Skip to content

Commit

Permalink
improved status
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 26, 2023
1 parent 9cf1646 commit 5629bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -5212,14 +5212,14 @@ close_lists();
if(interfacelistshortflag == true) return EXIT_SUCCESS;
fprintf(stdout, "\n\033[?25h");
fprintf(stderr, "%" PRIu64 " ERROR(s) during runtime\n", errorcount);
fprintf(stdout, "%u Packet(s) captured\n", lStats.tp_packets);
fprintf(stdout, "%u Packet(s) captured by kernel\n", lStats.tp_packets);
fprintf(stdout, "%u Packet(s) dropped by kernel\n", lStats.tp_drops);
#ifdef STATUSOUT
if(lStats.tp_packets < 10) fprintf(stderr, "Warning: too less packets received (monitor mode may not work as expected)\n"
"Possible reasons:\n"
" no transmitter in range\n"
" frames are filtered out by BPF\n"
" driver is broken\n");
#ifdef STATUSOUT
if(rcascanflag == NULL)
{
fprintf(stdout,"%ld SHB written to pcapng dumpfile\n", wshbcount);
Expand Down

0 comments on commit 5629bb7

Please sign in to comment.