diff options
author | Phil Davis <phil.davis@inf.org> | 2016-04-28 13:31:26 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-04-28 13:31:26 +0545 |
commit | e1f5381f4ecae20922a379b75820af1c9e57927e (patch) | |
tree | f86abba8af25828e1472393c0d41d17b1345ddc5 /src/usr/local/www/system_gateway_groups_edit.php | |
parent | a120c849074acf6121665f47315bd477d0253af6 (diff) | |
download | pfsense-e1f5381f4ecae20922a379b75820af1c9e57927e.zip pfsense-e1f5381f4ecae20922a379b75820af1c9e57927e.tar.gz |
Provide better messages for invalid alias name errors
Diffstat (limited to 'src/usr/local/www/system_gateway_groups_edit.php')
-rw-r--r-- | src/usr/local/www/system_gateway_groups_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_gateway_groups_edit.php b/src/usr/local/www/system_gateway_groups_edit.php index d130a69..f1a3045 100644 --- a/src/usr/local/www/system_gateway_groups_edit.php +++ b/src/usr/local/www/system_gateway_groups_edit.php @@ -115,7 +115,7 @@ if ($_POST) { $input_errors[] = gettext("A valid gateway group name must be specified."); } if (!is_validaliasname($_POST['name'])) { - $input_errors[] = gettext("The gateway name must not contain invalid characters."); + $input_errors[] = invalidaliasnamemsg($_POST['name'], gettext("gateway group")); } if (isset($_POST['name'])) { |