summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-25 00:05:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-25 00:05:18 +0000
commit3fceab6c8948caf7669b282abd4f00cd3ca934e7 (patch)
treee75ec43d54294767927f4a20128d6780288a6b93 /usr/local/www
parent03aebc4c5075dfbb1537f9a78f8fe54c21e97082 (diff)
downloadpfsense-3fceab6c8948caf7669b282abd4f00cd3ca934e7.zip
pfsense-3fceab6c8948caf7669b282abd4f00cd3ca934e7.tar.gz
CarpDEV fixes. It now works!!
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 96b52cb..966452e 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -110,6 +110,11 @@ if ($_POST) {
}
}
+ if ($_POST['mode'] == "carpdev-dhcp") {
+ unset($_POST['subnet']);
+ unset($_POST['subnet_bits']);
+ }
+
/* make sure new ip is within the subnet of a valid ip
* on one of our interfaces (wan, lan optX)
*/
@@ -271,6 +276,10 @@ function enable_change(enable_over) {
document.iform.subnet_bits.disabled = 1;
document.iform.subnet.disabled = 1;
document.iform.subnet.value = '';
+ document.iform.subnet_bits.value = '';
+ document.iform.vhid.disabled = 0;
+ document.iform.password.disabled = 0;
+ document.iform.advskew.disabled = 0;
}
}
function typesel_change() {
OpenPOWER on IntegriCloud