diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-19 17:04:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-19 17:04:22 +0000 |
commit | 1cf421b18e0e82bf7c0006e119549303beee9511 (patch) | |
tree | 207f5c36480232fd04fbbaf8a927c7e0e1d58dc1 /etc/inc | |
parent | 60f14172cefd9300b3e3ed107a9a3488cfa98be2 (diff) | |
download | pfsense-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.inc | 6 |
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']; |