Revert last commit.

This commit is contained in:
Scott Ullrich 2005-06-24 19:48:20 +00:00
parent 8950f203ec
commit 7d2e441ef8

View File

@ -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;