diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-23 22:57:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-23 22:57:13 +0000 |
commit | 74fb8d5609568259b051eebef0a645e671c4821c (patch) | |
tree | bf0b038c07a0159e3fa220dba8cff811f5932ab6 /usr/local | |
parent | f382c4db06392dc031b468476cbaf36b536b528f (diff) | |
download | pfsense-74fb8d5609568259b051eebef0a645e671c4821c.zip pfsense-74fb8d5609568259b051eebef0a645e671c4821c.tar.gz |
Require a password for CARP type entries
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 2 |
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']); |