mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
firewall: rewrite in equal case, otherwise we end up without a limit
This commit is contained in:
parent
fc0c66e87b
commit
5dd172ed16
@ -364,7 +364,7 @@ function filter_configure_sync($verbose = false)
|
||||
$limitrules .= "set limit table-entries {$config['system']['maximumtableentries']}\n";
|
||||
} elseif (is_bogonsv6_used()) {
|
||||
$max_table_entries = default_table_entries_size();
|
||||
if ($max_table_entries < 500000) {
|
||||
if ($max_table_entries <= 500000) {
|
||||
$limitrules .= "set limit table-entries 500000\n";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user