From 597204d76482f09b71b5fe1edb714531774a4bff Mon Sep 17 00:00:00 2001 From: Xavier Beaudouin Date: Mon, 7 Mar 2016 10:22:49 +0100 Subject: [PATCH] Update the discovery of pktj as @murrant suggested. --- includes/discovery/os/linux.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/os/linux.inc.php b/includes/discovery/os/linux.inc.php index 7a48938be..3ae2e3e6d 100644 --- a/includes/discovery/os/linux.inc.php +++ b/includes/discovery/os/linux.inc.php @@ -50,7 +50,7 @@ if (!$os) { $os = 'airos-af'; } } - else if (trim(snmp_get($device, 'GANDI-MIB::rxCounter.0', '-Osqnv', 'GANDI-MIB')) != '') { + else if (snmp_get($device, 'GANDI-MIB::rxCounter.0', '-Osqnv', 'GANDI-MIB') !== false) { $os = 'pktj'; $pktj_mibs = array ( "rxCounter" => "GANDI-MIB", // RX Packets