From owner-freebsd-bugs Thu May 6 7:56: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 2802F14CBF for ; Thu, 6 May 1999 07:56:00 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id KAA22786; Thu, 6 May 1999 10:55:54 -0400 (EDT) (envelope-from wollman) Date: Thu, 6 May 1999 10:55:54 -0400 (EDT) From: Garrett Wollman Message-Id: <199905061455.KAA22786@khavrinen.lcs.mit.edu> To: "Justin T. Gibbs" Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/11525: [PATCH] Networking patches to increase # interfaces in SIOCGIFCONF calls In-Reply-To: <199905061430.HAA06918@freefall.freebsd.org> References: <199905061430.HAA06918@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Wouldn't a better solution be to add another API that takes a > starting interface number and allows you to make multiple calls > to retrieve all interfaces regardless of the number in the system? > Bumping the limit seems like a band-aid at best. No, the right solution is to use one of the two proper APIs that we have for getting the interface list. SIOCGIFCONF was always a nasty kluge. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message