pf: remove compile knob for default sysctl value

This commit is contained in:
Franco Fichtner 2017-10-08 11:23:09 +02:00
parent b06aaba6a7
commit 054bddec71
2 changed files with 0 additions and 7 deletions

View file

@ -986,9 +986,6 @@ PAX_ASLR_COMPAT_DELTA_VDSO_DEF_LEN opt_pax.h
# Other hardening features
STACK_GUARD_SIZE opt_pax.h
# OPNsense additions
PF_SHARE_FORWARD opt_pf.h
# Random number generator(s)
# Which CSPRNG hash we get.
# If Yarrow is not chosen, Fortuna is selected.

View file

@ -369,11 +369,7 @@ SYSCTL_ULONG(_net_pf, OID_AUTO, states_hashsize, CTLFLAG_RDTUN,
SYSCTL_ULONG(_net_pf, OID_AUTO, source_nodes_hashsize, CTLFLAG_RDTUN,
&pf_srchashsize, 0, "Size of pf(4) source nodes hashtable");
#ifdef PF_SHARE_FORWARD
static VNET_DEFINE(int, pf_share_forward) = 1;
#else
static VNET_DEFINE(int, pf_share_forward) = 0;
#endif
#define V_pf_share_forward VNET(pf_share_forward)
SYSCTL_INT(_net_pf, OID_AUTO, share_forward,