mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Should have been an && :(
This commit is contained in:
@@ -491,7 +491,7 @@ function isPingable($hostname, $address_family = AF_INET, $device_id = FALSE) {
|
||||
global $config;
|
||||
|
||||
$tmp_device = array('device_id'=>$device_id);
|
||||
if ($config['icmp_check'] === true || get_dev_attrib($tmp_device,'override_icmp_disable') != "true") {
|
||||
if ($config['icmp_check'] === true && get_dev_attrib($tmp_device,'override_icmp_disable') != "true") {
|
||||
|
||||
$fping_params = '';
|
||||
if(is_numeric($config['fping_options']['retries']) || $config['fping_options']['retries'] > 1) {
|
||||
|
Reference in New Issue
Block a user