summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_nat_out.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 335e3df..df59453 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 {$if}";
+ $natent['descr'] = "Auto created rule for {$config[$if]['descr']}";
$natent['target'] = "";
$natent['interface'] = "wan";
$natent['destination']['any'] = true;
OpenPOWER on IntegriCloud