]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
More debugging.
authorRusty Russell <rusty@linuxcare.com.au>
Mon, 4 Sep 2000 08:47:23 +0000 (08:47 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Sep 2000 08:47:23 +0000 (08:47 +0000)
libiptc/libiptc.c

index 60c676c8bfd2f19feb50028ba414c0c2b6d56cd8..c7dffcae663ac2ac34bbc7e06ed9907849828e4c 100644 (file)
@@ -1445,6 +1445,11 @@ subtract_counters(STRUCT_COUNTERS *answer,
 {
        answer->pcnt = a->pcnt - b->pcnt;
        answer->bcnt = a->bcnt - b->bcnt;
+
+       fprintf(stderr, "pcnt: %llu - %llu = %llu\n",
+               a->pcnt, b->pcnt answer->pcnt);
+       fprintf(stderr, "bcnt: %llu - %llu = %llu\n",
+               a->bcnt, b->bcnt answer->bcnt);
 }
 
 int