diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 21:31:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 21:31:37 +0000 |
commit | 22c9fc09965466c03a6192ffd469fba22f7ac906 (patch) | |
tree | 5ffa802d1298bfa955755aa3bec23ff548a5c893 /etc/inc | |
parent | 98aa3eb6f21fea2ba3dcec33e95de77c2901aef5 (diff) | |
download | pfsense-22c9fc09965466c03a6192ffd469fba22f7ac906.zip pfsense-22c9fc09965466c03a6192ffd469fba22f7ac906.tar.gz |
Correctly incriment skipto rule number.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index f87feda..2facb14 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -460,7 +460,8 @@ function tdr_create_ipfw_rule($rule, $type) { /* piece together the actual user rule */ if($type == "allow") { - $next_rule = tdr_get_next_ipfw_rule+2; + $next_rule = tdr_get_next_ipfw_rule(); + $next_rule = $next_rule+1; $type = "skipto $next_rule"; } |