correct snmp variable comparison