diff --git a/sys/conf/options b/sys/conf/options index f944a63f914..ec43264c7b5 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -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. diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index e9a6630aae9..28c010c1c5d 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -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,