mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-07 09:44:44 +02:00
fix (#1594) duplicate plutosdr crash when shitty internet protocol IPv6 is enabled
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user