From 2adf7582dadd8af70c6b9a593589b1a44f017008 Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Mon, 20 Jan 2003 13:03:34 +0000 Subject: [PATCH] De-anonymity a couple of messages I missed in a previous sweep. Move one of them under DEB macro. Noticed by: Wiktor Niesiobedzki --- sys/netinet/ip_dummynet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index abee7d6dd23e..82b6f7b47eab 100644 --- a/sys/netinet/ip_dummynet.c +++ b/sys/netinet/ip_dummynet.c @@ -983,7 +983,7 @@ red_drops(struct dn_flow_set *fs, struct dn_flow_queue *q, int len) p_b = SCALE_MUL((int64_t) fs->c_3, (int64_t) q->avg) - fs->c_4; } else { q->count = -1; - printf("- drop"); + DEB(printf("dummynet: - drop");); return 1 ; } } else if (q->avg > fs->min_th) { @@ -1005,7 +1005,7 @@ red_drops(struct dn_flow_set *fs, struct dn_flow_queue *q, int len) */ if (SCALE_MUL(p_b, SCALE((int64_t) q->count)) > q->random) { q->count = 0; - DEB(printf("- red drop");) + DEB(printf("dummynet: - red drop");) /* after a drop we calculate a new random value */ q->random = random() & 0xffff; return 1; /* drop */