Skip to content

Commit

Permalink
pfSense-pkg-zabbix-proxy: Change messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaio committed Apr 26, 2017
1 parent e948623 commit 231bab9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function validate_input_zabbix_proxy_lts($post, &$input_errors) {
if (!is_numericint($post['serverport'])) {
$input_errors[] = "'Server Port' value is not numeric.";
} elseif ($post['serverport'] < 1 || $post['serverport'] > 65535) {
$input_errors[] = "You must enter a valid value for 'Server Port'.";
$input_errors[] = "Enter a valid value for 'Server Port'.";
}

if (!preg_match("/\w+/", $post['hostname'])) {
Expand All @@ -74,7 +74,7 @@ function validate_input_zabbix_proxy_lts($post, &$input_errors) {
if (!is_numericint($post['starttrappers'])) {
$input_errors[] = "'Start Trappers' value is not numeric.";
} elseif ($post['starttrappers'] > 1000) {
$input_errors[] = "You must enter a valid value for 'Start Trappers'.";
$input_errors[] = "Enter a valid value for 'Start Trappers'.";
}
}
}
Expand Down

0 comments on commit 231bab9

Please sign in to comment.