diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 00:52:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 00:52:12 +0000 |
commit | 987fa1195582e1a1308e0037e5e4efcc39471df0 (patch) | |
tree | c847ca5d636926f0a2d1afb64f3d186a7bfa6529 /etc | |
parent | 94b2820cd068a1bb235098e5a6e87be5775e8c6f (diff) | |
download | pfsense-987fa1195582e1a1308e0037e5e4efcc39471df0.zip pfsense-987fa1195582e1a1308e0037e5e4efcc39471df0.tar.gz |
Correctly setup nat interface mappings when AON is disabled and a gateway is present.
Ticket #1289
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 28765e2..ee13561 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -702,7 +702,7 @@ function filter_nat_rules_generate() { generate_optcfg_array($optints); foreach($optints as $oc) { $opt_interface = $oc['if']; - if($oc['gateway'] == "" or $oc['if'] <> "dhcp") + if($oc['gateway'] <> "" or $oc['if'] <> "dhcp") $natrules .= filter_nat_rules_generate_if($opt_interface, "{$optsa}/{$optcfg['subnet']}", null, "", null, null, null, isset($optcfg['nonat'])); } |