diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 43f41ed0c5..1075351681 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -103,9 +103,6 @@ if (isset($_POST['save'])) { $natent['descr'] = "Auto created rule for {$if}"; $natent['target'] = ""; $natent['interface'] = "wan"; - /* if a gateway is setup on this interface, use it */ - if($config['interfaces'][$if]['gateway'] <> "") - $natent['interface'] = $if; $natent['destination']['any'] = true; $natent['natport'] = ""; $a_out[] = $natent;