summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-06 00:10:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-06 00:10:08 +0000
commitb5c12e7b11c4c4dd72004dd21451556a926bb5de (patch)
tree67951a1d66159ac6017ac32173bb0a61208b1147 /usr
parent8dd629d06b6c6b630a86ece2136c52f30ebbb4af (diff)
downloadpfsense-b5c12e7b11c4c4dd72004dd21451556a926bb5de.zip
pfsense-b5c12e7b11c4c4dd72004dd21451556a926bb5de.tar.gz
Do not show Apply button twice.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 96232d5..f9ea84c 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -78,6 +78,10 @@ if ($_POST['apply']) {
}
}
+if ($_POST) {
+ unlink_if_exists($d_vipconfdirty_path);
+}
+
$pgtitle = "Firewall: Virtual IP Addresses";
include("head.inc");
OpenPOWER on IntegriCloud