mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
netinet: fix LINT-NOINET build failure
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 3b62f3350017ab6722ebe8e4fccd9ba76acbb214)
This commit is contained in:
parent
c3d7b96df0
commit
4acf9ba16d
1 changed files with 2 additions and 0 deletions
|
|
@ -236,11 +236,13 @@ in_pcbhashseed_init(void)
|
|||
VNET_SYSINIT(in_pcbhashseed_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST,
|
||||
in_pcbhashseed_init, 0);
|
||||
|
||||
#ifdef INET
|
||||
VNET_DEFINE_STATIC(int, connect_inaddr_wild) = 1;
|
||||
#define V_connect_inaddr_wild VNET(connect_inaddr_wild)
|
||||
SYSCTL_INT(_net_inet_ip, OID_AUTO, connect_inaddr_wild,
|
||||
CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(connect_inaddr_wild), 0,
|
||||
"Allow connecting to INADDR_ANY or INADDR_BROADCAST for connect(2)");
|
||||
#endif
|
||||
|
||||
static void in_pcbremhash(struct inpcb *);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue