diff options
author | maxim <maxim@FreeBSD.org> | 2003-01-20 13:03:34 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2003-01-20 13:03:34 +0000 |
commit | a6ac700e454130241a164f5c45b382d0f41379b7 (patch) | |
tree | 87dda38f5097105fbc9919e9b6d6b6b5118e1c28 | |
parent | be6ec8d4b8a87950b926017d8457b891dd47e0f9 (diff) | |
download | FreeBSD-src-a6ac700e454130241a164f5c45b382d0f41379b7.zip FreeBSD-src-a6ac700e454130241a164f5c45b382d0f41379b7.tar.gz |
De-anonymity a couple of messages I missed in a previous sweep.
Move one of them under DEB macro.
Noticed by: Wiktor Niesiobedzki <w@evip.pl>
-rw-r--r-- | sys/netinet/ip_dummynet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index abee7d6..82b6f7b 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 */ |