From: hickert Date: Fri, 26 Oct 2007 06:41:24 +0000 (+0000) Subject: Fixed snmp call when !is_callable X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f9645525090bbb450dd976f18202dc58d6f0c236;p=gosa.git Fixed snmp call when !is_callable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7669 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc index 0b81eb7d3..f233e746b 100644 --- a/plugins/admin/systems/class_terminalInfo.inc +++ b/plugins/admin/systems/class_terminalInfo.inc @@ -118,7 +118,7 @@ class terminfo extends plugin $community= 'goto'; /* Get memory informations */ - if(is_callable("snmpget")){ + if(!is_callable("snmpget")){ $MemFree = false; }else{ $MemFree= @snmpget($host, $community, "UCD-SNMP-MIB::memory.memAvailReal.0");