summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-12 19:06:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-12 19:06:00 +0000
commit0a5f89fa3e19c277ea1a5979f7755c60c7121959 (patch)
tree6972529ca8273f303e0b6c30e03864c8706100cc /etc
parent0363c1006a1a80b708acd6588955b5f2000a8250 (diff)
downloadpfsense-0a5f89fa3e19c277ea1a5979f7755c60c7121959.zip
pfsense-0a5f89fa3e19c277ea1a5979f7755c60c7121959.tar.gz
We ++ the starting port at the end of the for loop. Do not ++ it at the beginning leading to power of 2 redirect entries.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 3257d3d..c1c0259 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -945,8 +945,6 @@ function filter_nat_rules_generate() {
update_filter_reload_status("Creating reflection rule for {$rule['descr']}...");
- $starting_localhost_port++;
-
$ifname_real = convert_friendly_interface_to_friendly_descr(strtolower($ifname));
switch($rule['protocol']) {
OpenPOWER on IntegriCloud