summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-19 17:04:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-19 17:04:22 +0000
commit1cf421b18e0e82bf7c0006e119549303beee9511 (patch)
tree207f5c36480232fd04fbbaf8a927c7e0e1d58dc1 /etc/inc
parent60f14172cefd9300b3e3ed107a9a3488cfa98be2 (diff)
downloadpfsense-1cf421b18e0e82bf7c0006e119549303beee9511.zip
pfsense-1cf421b18e0e82bf7c0006e119549303beee9511.tar.gz
Do not test, set the variable.
Noticed-by: simoncpu
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index ae90b9c..11f60ec 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -630,7 +630,7 @@ function filter_nat_rules_generate()
$sn = $natent['subnet'];
if (!$natent['interface'])
- $natif == "wan";
+ $natif = "wan";
else
$natif = $natent['interface'];
@@ -658,7 +658,7 @@ function filter_nat_rules_generate()
$dst = $obent['destination']['address'];
if (!$obent['interface'])
- $natif == "wan";
+ $natif = "wan";
else
$natif = $obent['interface'];
@@ -949,7 +949,7 @@ function filter_nat_rules_generate()
$extaddr = $FilterIflist[$rule['interface']]['ip'];
if (!$rule['interface'])
- $natif == "wan";
+ $natif = "wan";
else
$natif = $rule['interface'];
OpenPOWER on IntegriCloud