Bump max rule size to 512 opcodes.

This commit is contained in:
melifaro 2014-10-04 10:15:49 +00:00
parent c0f26d5a55
commit 41c6784b49

View File

@ -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;