diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 946e23b6cf78..da5a98f9ea5f 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -120,7 +120,7 @@ static void bpf_drvinit(void *); static int bpf_stats_sysctl(SYSCTL_HANDLER_ARGS); SYSCTL_NODE(_net, OID_AUTO, bpf, CTLFLAG_RW, 0, "bpf sysctl"); -static int bpf_maxinsns = BPF_MAXINSNS; +int bpf_maxinsns = BPF_MAXINSNS; SYSCTL_INT(_net_bpf, OID_AUTO, maxinsns, CTLFLAG_RW, &bpf_maxinsns, 0, "Maximum bpf program instructions"); static int bpf_zerocopy_enable = 0;