summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-19 22:05:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-19 22:05:51 +0000
commit4fc3d55d12feb2936a5c2b9cd0a77c7027d350b8 (patch)
treeeb5d4bd3461f8cb4f9c564bf9398dc8050a579b7 /usr/local/www/firewall_nat_out.php
parent6b3a73985c6c5dce18f9ea70f16cf87bec2d1c5b (diff)
downloadpfsense-4fc3d55d12feb2936a5c2b9cd0a77c7027d350b8.zip
pfsense-4fc3d55d12feb2936a5c2b9cd0a77c7027d350b8.tar.gz
Setup load balancing on outbound nat
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index e78883f..1a0790a 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -42,7 +42,7 @@ if ($_POST) {
$pconfig = $_POST;
$config['nat']['advancedoutbound']['enable'] = ($_POST['enable']) ? true : false;
- $pconfig['nat']['enableoutboundloadbalancing'] = $_POST['enableoutboundloadbalancing'] ? true : false;
+ $config['nat']['enableoutboundloadbalancing'] = $_POST['enableoutboundloadbalancing'] ? true : false;
write_config();
$retval = 0;
@@ -107,7 +107,7 @@ if ($_GET['act'] == "del") {
</strong></p>
</td>
<td class="vtable"><p>
- <input name="enableoutboundloadbalancing" type="checkbox" id="enableoutboundloadbalancing" value="yes" <?php if ($pconfig['enableoutboundloadbalancing'] == "yes") echo "checked";?>>
+ <input name="enableoutboundloadbalancing" type="checkbox" id="enableoutboundloadbalancing" value="yes" <?php if (isset($config['nat']['enableoutboundloadbalancing'])) echo "checked";?>>
<strong>Enable outbound load balancing.<br>
</strong></p>
</td>
OpenPOWER on IntegriCloud