From be3cc1b567aae50b163d8fdfd9812067011086ee Mon Sep 17 00:00:00 2001 From: "Alexander V. Chernikov" Date: Sat, 4 Oct 2014 10:15:49 +0000 Subject: [PATCH] Bump max rule size to 512 opcodes. --- sys/netpfil/ipfw/ip_fw_sockopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/ipfw/ip_fw_sockopt.c b/sys/netpfil/ipfw/ip_fw_sockopt.c index 72d125f52c0f..f73f5b292924 100644 --- a/sys/netpfil/ipfw/ip_fw_sockopt.c +++ b/sys/netpfil/ipfw/ip_fw_sockopt.c @@ -2677,7 +2677,7 @@ ipfw_ctl3(struct sockopt *sopt) int ipfw_ctl(struct sockopt *sopt) { -#define RULE_MAXSIZE (256*sizeof(u_int32_t)) +#define RULE_MAXSIZE (512*sizeof(u_int32_t)) int error; size_t size, valsize; struct ip_fw *buf;