mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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
2 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue