mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
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:
parent
97fcf1ddb2
commit
d5c3a37026
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21534
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user