diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-19 10:18:53 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-19 10:18:53 +0200 |
commit | 9eb81facb37306cf8fd8f25ec53c9fa9dedd3087 (patch) | |
tree | 97521cccdcf90a6cf1f2afec19a4166825f04b1f /config/zabbix-agent-lts | |
parent | 8fc53e6eeb368c2b136a41b2d1ac8477552e65fb (diff) | |
download | pfsense-packages-9eb81facb37306cf8fd8f25ec53c9fa9dedd3087.tar.gz pfsense-packages-9eb81facb37306cf8fd8f25ec53c9fa9dedd3087.tar.bz2 pfsense-packages-9eb81facb37306cf8fd8f25ec53c9fa9dedd3087.zip |
zabbix-agent-lts - code style cleanup
Fix copy/paste error in input validation.
Diffstat (limited to 'config/zabbix-agent-lts')
-rw-r--r-- | config/zabbix-agent-lts/zabbix-agent-lts.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/zabbix-agent-lts/zabbix-agent-lts.inc b/config/zabbix-agent-lts/zabbix-agent-lts.inc index 4cc113ab..7eb7c564 100644 --- a/config/zabbix-agent-lts/zabbix-agent-lts.inc +++ b/config/zabbix-agent-lts/zabbix-agent-lts.inc @@ -79,7 +79,7 @@ function validate_input_zabbix_agent_lts($post, &$input_errors) { if ($post['listenport'] != '') { if (!is_numericint($post['listenport'])) { $input_errors[] = "'Listen Port' value is not numeric."; - } elseif ($post['buffersize'] < 1 || $post['buffersize'] > 65535) { + } elseif ($post['listenport'] < 1 || $post['listenport'] > 65535) { $input_errors[] = "You must enter a valid value for 'Listen Port'."; } } |