]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
better -p default line
authorJelte Jansen <jeltejan@NLnetLabs.nl>
Wed, 30 Nov 2005 16:51:51 +0000 (16:51 +0000)
committerJelte Jansen <jeltejan@NLnetLabs.nl>
Wed, 30 Nov 2005 16:51:51 +0000 (16:51 +0000)
examples/dpa.c

index 033685170ddfc1b7169f6bcd26b6c62cfd9334db..e355c13d89ff2486decb349fea1ee277311ff8f6 100644 (file)
@@ -2282,7 +2282,7 @@ int main(int argc, char *argv[]) {
        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);
@@ -2297,14 +2297,6 @@ int main(int argc, char *argv[]) {
                }
        }
 
-       if (!ok) {
-/*
-               usage(stderr);
-               status = EXIT_FAILURE;
-               goto exit;
-*/
-       }
-
        exit:
 
        free_match_expression(expr);