Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 1996 13:39:55 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        hackers@freebsd.org
Subject:   minor patch to ppp's route.c
Message-ID:  <199608020409.NAA28419@genesis.atrad.adelaide.edu.au>

next in thread | raw e-mail | index | archive | help
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).

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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