diff options
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 43f41ed..1075351 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; |