summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-27 04:08:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-27 04:08:20 +0000
commitb880db5733bf718522369f1fff37b4c265ec7112 (patch)
treea846eaddb4ae9e2318f9443691ae5ae957aea784
parentfa56ab75a52cb335de51783f356dca47b56f6d04 (diff)
downloadpfsense-b880db5733bf718522369f1fff37b4c265ec7112.zip
pfsense-b880db5733bf718522369f1fff37b4c265ec7112.tar.gz
Replace OPT[n] with the interface description
-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