From owner-freebsd-bugs Mon Jul 10 10: 0: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CA5CA37B56C for ; Mon, 10 Jul 2000 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA66174; Mon, 10 Jul 2000 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 10 Jul 2000 10:00:01 -0700 (PDT) Message-Id: <200007101700.KAA66174@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: kern/19809: Make mbstat.m_mtypes[] u_long instead of u_short Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/19809; it has been noted by GNATS. From: Garrett Wollman To: iedowse@maths.tcd.ie Cc: FreeBSD-gnats-submit@FreeBSD.ORG, bmilekic@dsuper.net Subject: kern/19809: Make mbstat.m_mtypes[] u_long instead of u_short Date: Mon, 10 Jul 2000 12:56:10 -0400 (EDT) < Apply the following patch. This fixes both of the above > issues, and removes some assumptions within netstat(1) about > the size of the m_mtypes[] array. Looks good to me. I'd rather have the counts exported as a separate MIB entry, though, which would avoid any dependency by netstat on the actual number of types supported in the kernel. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message