Bump maximum number of interface hooks to the maximum possible value.

This will increase the memory consumption for more than 1 Mb, but this
is required for operation on multiinterface access concentrators running
mpd.

Requested by:	Alexander Motin
This commit is contained in:
Gleb Smirnoff 2007-03-28 13:59:13 +00:00
parent 1929eae1cc
commit dc7359b8dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167990
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ static const char rcs_id[] =
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/limits.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/syslog.h>

View File

@ -34,7 +34,7 @@
#define NG_NETFLOW_NODE_TYPE "netflow"
#define NGM_NETFLOW_COOKIE 1137078102
#define NG_NETFLOW_MAXIFACES 2048
#define NG_NETFLOW_MAXIFACES USHRT_MAX
/* Hook names */