From 3decfc1115a89b62f6e154ed8094555e57331fc4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 24 Jun 2005 19:36:34 +0000 Subject: interface -> interfaces --- usr/local/www/firewall_nat_out.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"; -- cgit v1.1