Commit be5b4b8f authored by Jan Möbius's avatar Jan Möbius

Debug output

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10804 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 22b51ada
......@@ -138,10 +138,16 @@ bool LicenseManager::authenticate() {
if ( !( netInterface.flags() & QNetworkInterface::IsLoopBack ) ) {
std::cerr << "Loopback" << std::endl;
std::cerr << "Got MAC: " << netInterface.humanReadableName().toStdString() << " " << netInterface.hardwareAddress().toStdString() << std::endl;
macHashes.push_back(netInterface.hardwareAddress().toAscii().toUpper());
std::cerr << "Flags: " << netInterface.flags() << std::endl;
if ( netInterface.hardwareAddress().count(":") == 5 ) {
macHashes.push_back(netInterface.hardwareAddress().toAscii().toUpper());
} else {
std::cerr << "Skipped non ethernet mac" << std::endl;
}
}
mac = mac + netInterface.hardwareAddress().remove(":");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment