mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix tdr_get_next_ipfw_rule to not return 2 every time.
This commit is contained in:
parent
703714fe41
commit
98aa3eb6f2
@ -496,7 +496,7 @@ function tdr_install_rule($rule) {
|
||||
******/
|
||||
function tdr_get_next_ipfw_rule() {
|
||||
global $tdr_next_ipfw_rule;
|
||||
if(!$tdr_next_ipfw_rule)
|
||||
if(intval($tdr_next_ipfw_rule) < 2)
|
||||
$tdr_next_ipfw_rule = 2;
|
||||
return $tdr_next_ipfw_rule;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user