From 94fbb7a9f4f3a0022c96b6b1a6e9f8e0e1ab5b99 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 27 Aug 2005 04:09:10 +0000 Subject: Woops, use the complete xml path. --- usr/local/www/firewall_nat_out.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index df59453..e88923a 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -106,7 +106,7 @@ if (isset($_POST['save'])) { $config['interfaces'][$if]['subnet']); $natent['source']['network'] = $osn; $natent['sourceport'] = ""; - $natent['descr'] = "Auto created rule for {$config[$if]['descr']}"; + $natent['descr'] = "Auto created rule for {$config['interfaces'][$if]['descr']}"; $natent['target'] = ""; $natent['interface'] = "wan"; $natent['destination']['any'] = true; -- cgit v1.1