summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-24 19:36:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-24 19:36:34 +0000
commit3decfc1115a89b62f6e154ed8094555e57331fc4 (patch)
treea637f8ac0a332952eebed8b017f694bcbe4a1475 /usr/local/www/firewall_nat_out.php
parent54dce66fc973f9186b60310327b56d9ebb9426c9 (diff)
downloadpfsense-3decfc1115a89b62f6e154ed8094555e57331fc4.zip
pfsense-3decfc1115a89b62f6e154ed8094555e57331fc4.tar.gz
interface -> interfaces
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php3
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}";
OpenPOWER on IntegriCloud