Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 23:43:11 +0100
From:      Wiktor Niesiobedzki <w@evip.pl>
To:        current@freebsd.org
Subject:   Dummynet messages
Message-ID:  <20030119224311.GB89748@mail.evip.pl>

next in thread | raw e-mail | index | archive | help
Hi,

sys/netinet/ip_dummynet.c:
975:   if (q->avg >= fs->max_th) { /* average queue >=  max threshold */
(...)
984:        } else {
985:            q->count = -1;
986:           printf("- drop");
987:        return 1 ;
989:        }

is quite meaningless. Shouldn't be it at least DEB(printf("- drop")? Or 
better "drop - max_th exceeded"?

Just a small proposition, I was quite confused, when I saw this message.

Best regards,

Wiktor Niesiobedzki

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030119224311.GB89748>