summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-14 16:16:48 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-14 16:16:48 -0500
commit33ebc875126ef9a0de3670e47d21b13a883e8ab0 (patch)
treed883afe4b81c3fd5a7057385da54a55e6f9dead9 /src
parent7411a41db2ada28660ef354c918d992c5c1aa9cb (diff)
downloadpfsense-33ebc875126ef9a0de3670e47d21b13a883e8ab0.zip
pfsense-33ebc875126ef9a0de3670e47d21b13a883e8ab0.tar.gz
Fix Apply action
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/load_balancer_virtual_server.php20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/usr/local/www/load_balancer_virtual_server.php b/src/usr/local/www/load_balancer_virtual_server.php
index 7eaefa2..05a778d 100644
--- a/src/usr/local/www/load_balancer_virtual_server.php
+++ b/src/usr/local/www/load_balancer_virtual_server.php
@@ -39,17 +39,15 @@ if (!is_array($config['load_balancer']['virtual_server'])) {
$a_vs = &$config['load_balancer']['virtual_server'];
-if ($_POST['save']) {
- $pconfig = $_POST;
-
- if ($_POST['apply']) {
- $retval = 0;
- $retval |= filter_configure();
- $retval |= relayd_configure();
- /* Wipe out old relayd anchors no longer in use. */
- cleanup_lb_marked();
- clear_subsystem_dirty('loadbalancer');
- }
+$pconfig = $_POST;
+
+if ($_POST['apply']) {
+ $retval = 0;
+ $retval |= filter_configure();
+ $retval |= relayd_configure();
+ /* Wipe out old relayd anchors no longer in use. */
+ cleanup_lb_marked();
+ clear_subsystem_dirty('loadbalancer');
}
if ($_POST['act'] == "del") {
OpenPOWER on IntegriCloud