diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-27 04:08:20 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-27 04:08:20 +0000 |
commit | b880db5733bf718522369f1fff37b4c265ec7112 (patch) | |
tree | a846eaddb4ae9e2318f9443691ae5ae957aea784 /usr/local/www/firewall_nat_out.php | |
parent | fa56ab75a52cb335de51783f356dca47b56f6d04 (diff) | |
download | pfsense-b880db5733bf718522369f1fff37b4c265ec7112.zip pfsense-b880db5733bf718522369f1fff37b4c265ec7112.tar.gz |
Replace OPT[n] with the interface description
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 2 |
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; |