svn commit: r272513 - projects/ipfw/sys/netpfil/ipfw
Alexander V. Chernikov
melifaro at FreeBSD.org
Sat Oct 4 10:15:50 UTC 2014
Author: melifaro
Date: Sat Oct 4 10:15:49 2014
New Revision: 272513
URL: https://svnweb.freebsd.org/changeset/base/272513
Log:
Bump max rule size to 512 opcodes.
Modified:
projects/ipfw/sys/netpfil/ipfw/ip_fw_sockopt.c
Modified: projects/ipfw/sys/netpfil/ipfw/ip_fw_sockopt.c
==============================================================================
--- projects/ipfw/sys/netpfil/ipfw/ip_fw_sockopt.c Sat Oct 4 09:37:40 2014 (r272512)
+++ projects/ipfw/sys/netpfil/ipfw/ip_fw_sockopt.c Sat Oct 4 10:15:49 2014 (r272513)
@@ -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;
More information about the svn-src-projects
mailing list