From 98aa3eb6f21fea2ba3dcec33e95de77c2901aef5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 22 Apr 2007 21:27:59 +0000 Subject: [PATCH] Fix tdr_get_next_ipfw_rule to not return 2 every time. --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 3b7133d93b..f87feda634 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; }