Correct error string to read "pptp" instead of "WAN".

This commit is contained in:
Scott Ullrich 2007-07-28 23:27:13 +00:00
parent d27d8cdccb
commit 4fdff4ae15

View File

@ -104,7 +104,7 @@ if ($_POST) {
if(strtolower($_POST['name']) == "wan")
$input_errors[] = "Aliases may not be named WAN.";
if(strtolower($_POST['name']) == "pptp")
$input_errors[] = gettext("Aliases may not be named WAN.");
$input_errors[] = gettext("Aliases may not be named PPTP.");
$x = is_validaliasname($_POST['name']);
if (!isset($x)) {