summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-30 21:04:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-30 21:04:11 +0000
commit4303fbff5e9e36e5c140a97ca9af1751b647c0b5 (patch)
treedd708893196c997c7be2aac8331aabaf3bc28133 /etc/inc/pfsense-utils.inc
parent27ecd06e76009db9d59de586202c0b56917d2fe7 (diff)
downloadpfsense-4303fbff5e9e36e5c140a97ca9af1751b647c0b5.zip
pfsense-4303fbff5e9e36e5c140a97ca9af1751b647c0b5.tar.gz
* add comments about scheduler logic * correct one case where the logic was not correct
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 1 insertions, 5 deletions
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'];
OpenPOWER on IntegriCloud