From: Rusty Russell Date: Mon, 4 Sep 2000 08:47:23 +0000 (+0000) Subject: More debugging. X-Git-Tag: v1.2.1~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1ef1b1ef42e8e2b62488624c6a44c6db63e4895;p=thirdparty%2Fiptables.git More debugging. --- diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index 60c676c8..c7dffcae 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -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