changed MAX_IFS to 4096 so that SIOCGIFCONF buffer <= 128k

This commit is contained in:
Paul Slootman 1999-06-07 11:26:50 +00:00
parent f434f77cc5
commit 6200708775
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ int sockfd; /* socket for doing interface ioctls */
static char *lock_file;
#define MAX_IFS 5000
#define MAX_IFS 4096
#define FLAGS_GOOD (IFF_UP | IFF_BROADCAST)
#define FLAGS_MASK (IFF_UP | IFF_BROADCAST | \