aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2019-06-25 09:11:22 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2019-06-25 09:11:22 +0000
commit7d4b2d52448bbf32924838d1f00e9bd0e350855d (patch)
treedae4f903b5af6e7159ffa3dfe2f2011b00df96f7 /sys
parent55507128b93b01c76f7446bdd5e7f38bed4d4652 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netpfil/ipfw/ip_fw2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c
index 6796ad81611d1..f8bd4dea1d61e 100644
--- a/sys/netpfil/ipfw/ip_fw2.c
+++ b/sys/netpfil/ipfw/ip_fw2.c
@@ -3364,6 +3364,7 @@ vnet_ipfw_init(const void *unused)
/* fill and insert the default rule */
rule = ipfw_alloc_rule(chain, sizeof(struct ip_fw));
+ rule->flags |= IPFW_RULE_NOOPT;
rule->cmd_len = 1;
rule->cmd[0].len = 1;
rule->cmd[0].opcode = default_to_accept ? O_ACCEPT : O_DENY;