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

Revert,as non active means no cable attached

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10808 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 21664f27
...@@ -161,12 +161,6 @@ bool LicenseManager::authenticate() { ...@@ -161,12 +161,6 @@ bool LicenseManager::authenticate() {
continue; continue;
} }
// Ignore offline interfaces
if ( ! ( netInterface.flags() & QNetworkInterface::IsUp ) ) {
std::cerr << "Not up" << std::endl;
continue;
}
// Ignore non ethernet macs // Ignore non ethernet macs
if ( netInterface.hardwareAddress().count(":") != 5 ) { if ( netInterface.hardwareAddress().count(":") != 5 ) {
continue; continue;
...@@ -179,12 +173,8 @@ bool LicenseManager::authenticate() { ...@@ -179,12 +173,8 @@ bool LicenseManager::authenticate() {
macHashes.push_back(currentMac); macHashes.push_back(currentMac);
} }
std::cerr << "Got " << macHashes.size() << " Interfaces" << std::endl;
// cleanup the list from duplicates (virtual interfaces on windows connected to an existing device ... ) // cleanup the list from duplicates (virtual interfaces on windows connected to an existing device ... )
macHashes.removeDuplicates(); macHashes.removeDuplicates();
std::cerr << "Got " << macHashes.size() << " Interfaces after cleanup" << std::endl;
// generate hashes // generate hashes
for (int i = 0 ; i < macHashes.size(); ++i ) for (int i = 0 ; i < macHashes.size(); ++i )
......
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