summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-23 18:18:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-23 18:18:53 +0000
commitd8ffe63e638e52321f1c22e9df162a6a1ad9ac87 (patch)
treef0c9f4b3dcf2cce3eba6f2bd342ee48ed0ec1dc1 /usr/local/www/firewall_nat_out.php
parentc347ddb346bf4d2347fb88f280f5ca7520a5a32b (diff)
downloadpfsense-d8ffe63e638e52321f1c22e9df162a6a1ad9ac87.zip
pfsense-d8ffe63e638e52321f1c22e9df162a6a1ad9ac87.tar.gz
ip -> ipaddr
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-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 24ed4da..a246731 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -97,7 +97,7 @@ if (isset($_POST['save'])) {
$ifdescrs[] = "opt" . $j;
foreach($ifdescrs as $if) {
$natent = array();
- $osn = convert_ip_to_network_format($config['interface'][$if]['ip'], $carp['netmask']);
+ $osn = convert_ip_to_network_format($config['interface'][$if]['ipaddr'], $carp['netmask']);
$natent['source']['network'] = $osn;
$natent['sourceport'] = "";
$natent['descr'] = "Auto created rule for {$if}";
OpenPOWER on IntegriCloud