summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-14 16:14:58 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-14 16:14:58 -0500
commit7411a41db2ada28660ef354c918d992c5c1aa9cb (patch)
tree485726423f0c61e9ee7e6c390aa879c18378f321 /src
parentcbb82e6b6ca03d59209ef8f76968249ca390a9a2 (diff)
downloadpfsense-7411a41db2ada28660ef354c918d992c5c1aa9cb.zip
pfsense-7411a41db2ada28660ef354c918d992c5c1aa9cb.tar.gz
Fix Apply action
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/load_balancer_pool.php15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/usr/local/www/load_balancer_pool.php b/src/usr/local/www/load_balancer_pool.php
index 42bdd8d..b01a68b 100644
--- a/src/usr/local/www/load_balancer_pool.php
+++ b/src/usr/local/www/load_balancer_pool.php
@@ -38,17 +38,14 @@ if (!is_array($config['load_balancer']['lbpool'])) {
$a_pool = &$config['load_balancer']['lbpool'];
+$pconfig = $_POST;
-if ($_POST['save']) {
- $pconfig = $_POST;
-
- if ($_POST['apply']) {
- $retval = 0;
- $retval |= filter_configure();
- $retval |= relayd_configure();
+if ($_POST['apply']) {
+ $retval = 0;
+ $retval |= filter_configure();
+ $retval |= relayd_configure();
- clear_subsystem_dirty('loadbalancer');
- }
+ clear_subsystem_dirty('loadbalancer');
}
if ($_POST['act'] == "del") {
OpenPOWER on IntegriCloud