This is purely a bandaid to lower the risk of running out of slots

for the local interfaces.  It's not uncommon to have >32 interfaces
these days.  This is a temporary patch until it's fixed to use sysctl
or whatever.
This commit is contained in:
Peter Wemm 1997-01-11 09:21:29 +00:00
parent 97fcf1ddb2
commit d5c3a37026

View File

@ -61,7 +61,7 @@ static char sccsid[] = "@(#) from_local.c 1.2 93/11/16 21:50:02";
/* How many interfaces could there be on a computer? */
#define MAX_LOCAL 16
#define MAX_LOCAL 256 /* overkill */
static int num_local = -1;
static struct in_addr addrs[MAX_LOCAL];