pcap_close(pc);
if (show_percentages) {
- fprintf(stdout, "Total number of matching DNS packets: %u\n", (unsigned int) total_nr_of_dns_packets);
+ fprintf(stdout, "Total number of DNS packets evaluated: %u\n", (unsigned int) total_nr_of_dns_packets);
}
if (count->match) {
print_counters(stdout, count, show_percentages, total_nr_of_dns_packets, 0);
}
}
- if (!ok) {
-/*
- usage(stderr);
- status = EXIT_FAILURE;
- goto exit;
-*/
- }
-
exit:
free_match_expression(expr);