mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Build with -DNOINET6...
This commit is contained in:
parent
d698cdb301
commit
f2f076a92a
2 changed files with 20 additions and 3 deletions
|
|
@ -206,7 +206,12 @@ prototxt(int cproto)
|
|||
* One (and only one) of pip or pip6 must be set.
|
||||
*/
|
||||
int
|
||||
FilterCheck(const unsigned char *packet, u_int32_t family,
|
||||
FilterCheck(const unsigned char *packet,
|
||||
#ifdef NOINET6
|
||||
u_int32_t family __unused,
|
||||
#else
|
||||
u_int32_t family,
|
||||
#endif
|
||||
const struct filter *filter, unsigned *psecs)
|
||||
{
|
||||
int gotinfo; /* true if IP payload decoded */
|
||||
|
|
|
|||
|
|
@ -139,7 +139,13 @@ ncp_Destroy(struct ncp *ncp)
|
|||
}
|
||||
|
||||
int
|
||||
ncp_fsmStart(struct ncp *ncp, struct bundle *bundle)
|
||||
ncp_fsmStart(struct ncp *ncp,
|
||||
#ifdef NOINET6
|
||||
struct bundle *bundle __unused
|
||||
#else
|
||||
struct bundle *bundle
|
||||
#endif
|
||||
)
|
||||
{
|
||||
int res = 0;
|
||||
|
||||
|
|
@ -326,7 +332,13 @@ ncp_FillPhysicalQueues(struct ncp *ncp, struct bundle *bundle)
|
|||
* of what is to be pushed next, coming either from mp->out or ncp->afq.
|
||||
*/
|
||||
int
|
||||
ncp_PushPacket(struct ncp *ncp __unused, int *af, struct link *l)
|
||||
ncp_PushPacket(struct ncp *ncp __unused,
|
||||
#ifdef NOINET6
|
||||
int *af __unused,
|
||||
#else
|
||||
int *af,
|
||||
#endif
|
||||
struct link *l)
|
||||
{
|
||||
struct bundle *bundle = l->lcp.fsm.bundle;
|
||||
int res;
|
||||
|
|
|
|||
Loading…
Reference in a new issue