mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-05-09 15:16:43 +02:00
fix (#1594) duplicate plutosdr crash when shitty internet protocol IPv6 is enabled
This commit is contained in:
parent
2dd8c6cea4
commit
543c60ccbc
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user