mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 11:28:27 +01:00
fixed race condition
This commit is contained in:
parent
a003e396c5
commit
37c450f1e1
1 changed files with 1 additions and 1 deletions
2
UPnP.cpp
2
UPnP.cpp
|
@ -101,7 +101,7 @@ namespace transport
|
|||
|
||||
void UPnP::Run ()
|
||||
{
|
||||
auto& a = context.GetRouterInfo().GetAddresses();
|
||||
const std::vector<std::shared_ptr<i2p::data::RouterInfo::Address> > a = context.GetRouterInfo().GetAddresses();
|
||||
for (auto address : a)
|
||||
{
|
||||
if (!address->host.is_v6 ())
|
||||
|
|
Loading…
Add table
Reference in a new issue