diff options
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 5ac2669..b390bf0 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1379,7 +1379,8 @@ EOD; } /* Setup outgoing load balancing */ - if (isset($config['nat']['outgoingloadbalancing']['rule']) + if ($config['nat']['outgoingloadbalancing']['rule'] <> "" and + isset($config['nat']['outgoingloadbalancing']['enabled']) and $rule['interface'] == "lan") { $tmprules = " route-to { "; $isfirst = 0; |