mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fixed missing include in synopsis.
Added evil #define of ACCEPT_FILTER_MODULE to synopsis. Some of the functions defined in this man page aren't declared unless ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.
This commit is contained in:
parent
2ba5bb1ff5
commit
6c613605bc
1 changed files with 2 additions and 0 deletions
|
|
@ -37,7 +37,9 @@
|
|||
.Nd filter incoming connections
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/module.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Fd #define ACCEPT_FILTER_MOD
|
||||
.Fd #include <sys/socketvar.h>
|
||||
.Ft int
|
||||
.Fn accept_filt_add "struct accept_filter *filt"
|
||||
|
|
|
|||
Loading…
Reference in a new issue