diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 21:28:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 21:28:09 +0000 |
commit | d1d16ec7ab2962842c9d0964426ce334af0906a7 (patch) | |
tree | 0ac084f43fc3e231c2646ab3a822d8af80f5af8a /etc/inc/pfsense-utils.inc | |
parent | e78c077151eb4009cdaf5663429f44b958fca805 (diff) | |
download | pfsense-d1d16ec7ab2962842c9d0964426ce334af0906a7.zip pfsense-d1d16ec7ab2962842c9d0964426ce334af0906a7.tar.gz |
Fix tdr_get_next_ipfw_rule to not return 2 every time.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index a8e2101..5f147ec 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -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; } |