summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-12 17:36:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-12 17:36:49 +0000
commite8c5095b89ec75499d04ec68bfe6b539531b4383 (patch)
treed3011201903021b27d030d1f7440540a261e3d33 /etc/inc
parent5de75aefaf71c34a7cca411a3d988b62df4bf5a6 (diff)
downloadpfsense-e8c5095b89ec75499d04ec68bfe6b539531b4383.zip
pfsense-e8c5095b89ec75499d04ec68bfe6b539531b4383.tar.gz
Correct usage of multiple aliases
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 79121f5..d920f71 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -605,10 +605,10 @@ function filter_nat_rules_generate() {
if ((!$extport[1]) || ($extport[0] == $extport[1])) {
if($rule['protocol'] == "tcp/udp")
$natrules .=
- "rdr on $natif proto { tcp udp } from any to {$extaddr} port { {$extport[0]} } -> {$target} port { {$localport} }";
+ "rdr on $natif proto { tcp udp } from any to {$extaddr} port { {$extport[0]} } -> {$target} port {$localport}";
else
$natrules .=
- "rdr on $natif proto {$rule['protocol']} from any to {$extaddr} port { {$extport[0]} } -> {$target} port { {$localport} }";
+ "rdr on $natif proto {$rule['protocol']} from any to {$extaddr} port { {$extport[0]} } -> {$target} port {$localport} ";
} else {
if($rule['protocol'] == "tcp/udp")
OpenPOWER on IntegriCloud