summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-23 22:57:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-23 22:57:13 +0000
commit74fb8d5609568259b051eebef0a645e671c4821c (patch)
treebf0b038c07a0159e3fa220dba8cff811f5932ab6 /usr/local
parentf382c4db06392dc031b468476cbaf36b536b528f (diff)
downloadpfsense-74fb8d5609568259b051eebef0a645e671c4821c.zip
pfsense-74fb8d5609568259b051eebef0a645e671c4821c.tar.gz
Require a password for CARP type entries
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 58e1867..ae6969a 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -121,6 +121,8 @@ if ($_POST) {
$input_errors[] = "VHID {$_POST['vhid']} is already in use. Pick a unique number.";
}
}
+ if($_POST['password'] == "")
+ $input_errors[] = "You must specify a CARP password that is shared between the 2 VHID members.";
$can_post = true;
$found = false;
$subnet_ip = return_first_two_octets($_POST['subnet']);
OpenPOWER on IntegriCloud