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:
parent
1929eae1cc
commit
dc7359b8dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167990
@ -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>
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user