From 4303fbff5e9e36e5c140a97ca9af1751b647c0b5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 30 Apr 2007 21:04:11 +0000 Subject: * add comments about scheduler logic * correct one case where the logic was not correct --- etc/inc/pfsense-utils.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'etc/inc/pfsense-utils.inc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d75db27..c857cf0 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -486,16 +486,12 @@ function tdr_create_ipfw_rule($rule, $type) { tdr_get_next_ipfw_rule(); /* piece together the actual user rule */ - if($type == "allow") { + if($type == "skipto") { $next_rule = tdr_get_next_ipfw_rule(); $next_rule = $next_rule+1; $type = "skipto $next_rule"; } - if($type == "noschedallow") { - $type = "allow"; - } - /* piece together the actual user rule */ $line .= $type . " " . $aline['prot'] . $aline['src'] . $aline['srcport'] . $aline['dst'] . $aline['dstport'] . " in recv " . $aline['interface']; -- cgit v1.1