fix (#1594) duplicate plutosdr crash when shitty internet protocol IPv6 is enabled

pull/1651/head
AlexandreRouma 2025-05-01 01:39:08 +02:00
rodzic 2dd8c6cea4
commit 543c60ccbc
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -176,6 +176,9 @@ private:
// Construct the device name
std::string devName = '(' + backend + ") " + model + " [" + serial + ']';
// Skip duplicate devices
if (devices.keyExists(desc) || devices.nameExists(devName) || devices.valueExists(duri)) { continue; }
// Save device
devices.define(desc, devName, duri);
}