Commit c36d68f6 authored by Adrien Béraud's avatar Adrien Béraud Committed by Guillaume Roguez

upnp: fix validIGDs notification when a device is found

Issue: #78144
Change-Id: I7dbcbcef5c81c7f3284759a8ad8dd13ed22ef345
parent 1af610be
......@@ -639,6 +639,7 @@ UPnPContext::parseIGD(IXML_Document* doc, const Upnp_Discovery* d_event)
/* delete all RING mappings first */
removeMappingsByLocalIPAndDescription(new_igd.get(), Mapping::UPNP_DEFAULT_MAPPING_DESCRIPTION);
validIGDs_.emplace(UDN, std::move(new_igd));
validIGDCondVar_.notify_all();
}
}
}
......
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