From owner-freebsd-hackers Fri Aug 2 04:56:15 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA04232 for hackers-outgoing; Fri, 2 Aug 1996 04:56:15 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA04227 for ; Fri, 2 Aug 1996 04:56:13 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id GAA27157; Fri, 2 Aug 1996 06:53:13 -0500 From: Joe Greco Message-Id: <199608021153.GAA27157@brasil.moneng.mei.com> Subject: Re: minor patch to ppp's route.c To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Fri, 2 Aug 1996 06:53:12 -0500 (CDT) Cc: hackers@freebsd.org In-Reply-To: <199608020409.NAA28419@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Aug 2, 96 01:39:55 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Just for the sake of ISP's using the user-mode ppp for large numbers of > clients, it would be good to patch route.c : > > int > GetIfIndex(name) > char *name; > { > struct ifreq *ifrp; > int s, len, elen, index; > struct ifconf ifconfs; > struct ifreq reqbuf[32]; > > and change 32 to something higher (at ~2 per interface, this runs out of > steam at about 15 interfaces). I believe I posted a suggestion once to raise this to something like 1024 :-) which I had done on several boxes. ... JG