Fix the build broken by r240099.
Hide link_pfil_hook under _KERNEL macro. MFC after: 3 weeks
This commit is contained in:
parent
cf949d1283
commit
73c23f3ba1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240112
@ -99,8 +99,10 @@ TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
|
||||
TAILQ_HEAD(ifmultihead, ifmultiaddr);
|
||||
TAILQ_HEAD(ifgrouphead, ifg_group);
|
||||
|
||||
#ifdef _KERNEL
|
||||
VNET_DECLARE(struct pfil_head, link_pfil_hook); /* packet filter hooks */
|
||||
#define V_link_pfil_hook VNET(link_pfil_hook)
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/*
|
||||
* Structure defining a queue for a network interface.
|
||||
|
Loading…
Reference in New Issue
Block a user