summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-30 21:04:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-30 21:04:36 +0000
commita5ac7b8569f2d78b983e0566c3726a59a77eb4c0 (patch)
treed2e7fbfd3d191eab0cda8dfec88144ba50dd704b /etc/inc/pfsense-utils.inc
parent34e73d65c4ed5ebd41c4d055d569709d34eb92ed (diff)
downloadpfsense-a5ac7b8569f2d78b983e0566c3726a59a77eb4c0.zip
pfsense-a5ac7b8569f2d78b983e0566c3726a59a77eb4c0.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 1525d26..c8c4942 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -488,16 +488,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