summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-23 22:17:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-23 22:17:55 +0000
commit185b39196d316cb07ee20bf10850aaf5d6b00923 (patch)
tree71bbaf68223b1b58d2c8e116e3b122389c8f5cc3 /usr/local/www
parentd8ffe63e638e52321f1c22e9df162a6a1ad9ac87 (diff)
downloadpfsense-185b39196d316cb07ee20bf10850aaf5d6b00923.zip
pfsense-185b39196d316cb07ee20bf10850aaf5d6b00923.tar.gz
Use correct variable
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_nat_out.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index a246731..39b68aa 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -38,7 +38,6 @@ if (!is_array($config['nat']['advancedoutbound']['rule']))
$config['nat']['advancedoutbound']['rule'] = array();
$a_out = &$config['nat']['advancedoutbound']['rule'];
-//nat_out_rules_sort();
if ($_POST) {
@@ -97,7 +96,7 @@ if (isset($_POST['save'])) {
$ifdescrs[] = "opt" . $j;
foreach($ifdescrs as $if) {
$natent = array();
- $osn = convert_ip_to_network_format($config['interface'][$if]['ipaddr'], $carp['netmask']);
+ $osn = convert_ip_to_network_format($config['interface'][$if]['ipaddr'], $config['interface'][$if]['subnet']);
$natent['source']['network'] = $osn;
$natent['sourceport'] = "";
$natent['descr'] = "Auto created rule for {$if}";
OpenPOWER on IntegriCloud