mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Bump max rule size to 512 opcodes.
This commit is contained in:
parent
d19c297e5f
commit
e3cadfdb32
1 changed files with 1 additions and 1 deletions
|
|
@ -940,7 +940,7 @@ ipfw_getrules(struct ip_fw_chain *chain, void *buf, size_t space)
|
|||
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, len, valsize;
|
||||
struct ip_fw *buf, *rule;
|
||||
|
|
|
|||
Loading…
Reference in a new issue