mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
manual merge of Phil Davis pull request, commit b45537f75b
This commit is contained in:
parent
63fcce23b9
commit
98de735fc0
@ -59,7 +59,7 @@ if (isset($id) && $a_vs[$id]) {
|
||||
$pconfig = $a_vs[$id];
|
||||
} else {
|
||||
// Sane defaults
|
||||
$pconfig['mode'] = 'redirect';
|
||||
$pconfig['mode'] = 'redirect_mode';
|
||||
}
|
||||
|
||||
$changedesc = gettext("Load Balancer: Virtual Server:") . " ";
|
||||
@ -71,12 +71,12 @@ if ($_POST) {
|
||||
|
||||
/* input validation */
|
||||
switch($pconfig['mode']) {
|
||||
case "redirect": {
|
||||
case "redirect_mode": {
|
||||
$reqdfields = explode(" ", "ipaddr name mode");
|
||||
$reqdfieldsn = array(gettext("IP Address"),gettext("Name"),gettext("Mode"));
|
||||
break;
|
||||
}
|
||||
case "relay": {
|
||||
case "relay_mode": {
|
||||
$reqdfields = explode(" ", "ipaddr name mode relay_protocol");
|
||||
$reqdfieldsn = array(gettext("IP Address"),gettext("Name"),gettext("Relay Protocol"));
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user