diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-14 16:14:58 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-14 16:14:58 -0500 |
commit | 7411a41db2ada28660ef354c918d992c5c1aa9cb (patch) | |
tree | 485726423f0c61e9ee7e6c390aa879c18378f321 /src | |
parent | cbb82e6b6ca03d59209ef8f76968249ca390a9a2 (diff) | |
download | pfsense-7411a41db2ada28660ef354c918d992c5c1aa9cb.zip pfsense-7411a41db2ada28660ef354c918d992c5c1aa9cb.tar.gz |
Fix Apply action
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/load_balancer_pool.php | 15 |
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") { |