diff options
author | peter <peter@FreeBSD.org> | 1997-01-11 09:21:29 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-01-11 09:21:29 +0000 |
commit | d77c6855091b58dac15de047e4c2347ede6d4833 (patch) | |
tree | 4d6427b637d0ba41a8ddcbe3eef532eac9951abd /usr.sbin/portmap | |
parent | a6b08e94add2a12ae5f71907b044b6b172b777a6 (diff) | |
download | FreeBSD-src-d77c6855091b58dac15de047e4c2347ede6d4833.zip FreeBSD-src-d77c6855091b58dac15de047e4c2347ede6d4833.tar.gz |
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.
Diffstat (limited to 'usr.sbin/portmap')
-rw-r--r-- | usr.sbin/portmap/from_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/portmap/from_local.c b/usr.sbin/portmap/from_local.c index c1d1570..6554de4 100644 --- a/usr.sbin/portmap/from_local.c +++ b/usr.sbin/portmap/from_local.c @@ -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]; |