diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-05-07 10:14:33 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-05-07 10:14:33 +0000 |
commit | 3abc1918b8a64dd5bacfa12c2634d7ca06b3d715 (patch) | |
tree | 18808b7b27b106e3ef9f068e308669f3fb3a3f9b /etc | |
parent | d2f63c12299ce0ed027320c7b93f96ec174ce290 (diff) | |
download | pfsense-3abc1918b8a64dd5bacfa12c2634d7ca06b3d715.zip pfsense-3abc1918b8a64dd5bacfa12c2634d7ca06b3d715.tar.gz |
Trigger on right opt interface
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 366af16..187635d 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -716,7 +716,7 @@ function filter_nat_rules_generate() { update_filter_reload_status("Creating outbound rules (opt{$i})"); $optcfg = $config['interfaces']['opt' . $i]; - if ((isset ($optcfg['enable'])) && (!$optcfg['bridge']) && (interface_has_gateway("$opt_interface"))) { + if ((isset ($optcfg['enable'])) && (!$optcfg['bridge']) && (!interface_has_gateway("opt{$i}"))) { $optsa = gen_subnet($optcfg['ipaddr'], $optcfg['subnet']); /* create outbound nat entries for primary wan */ |