summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-07 10:14:33 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-07 10:14:33 +0000
commit3abc1918b8a64dd5bacfa12c2634d7ca06b3d715 (patch)
tree18808b7b27b106e3ef9f068e308669f3fb3a3f9b /etc
parentd2f63c12299ce0ed027320c7b93f96ec174ce290 (diff)
downloadpfsense-3abc1918b8a64dd5bacfa12c2634d7ca06b3d715.zip
pfsense-3abc1918b8a64dd5bacfa12c2634d7ca06b3d715.tar.gz
Trigger on right opt interface
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
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 */
OpenPOWER on IntegriCloud