diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-24 19:36:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-24 19:36:34 +0000 |
commit | 3decfc1115a89b62f6e154ed8094555e57331fc4 (patch) | |
tree | a637f8ac0a332952eebed8b017f694bcbe4a1475 /usr | |
parent | 54dce66fc973f9186b60310327b56d9ebb9426c9 (diff) | |
download | pfsense-3decfc1115a89b62f6e154ed8094555e57331fc4.zip pfsense-3decfc1115a89b62f6e154ed8094555e57331fc4.tar.gz |
interface -> interfaces
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 39b68aa..39cc4c3 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -96,7 +96,8 @@ if (isset($_POST['save'])) { $ifdescrs[] = "opt" . $j; foreach($ifdescrs as $if) { $natent = array(); - $osn = convert_ip_to_network_format($config['interface'][$if]['ipaddr'], $config['interface'][$if]['subnet']); + $osn = convert_ip_to_network_format($config['interfaces'][$if]['ipaddr'], + $config['interfaces'][$if]['subnet']); $natent['source']['network'] = $osn; $natent['sourceport'] = ""; $natent['descr'] = "Auto created rule for {$if}"; |