forked from premiere/premiere-libtorrent
make incoming connections considered connectable when they tell us their listen port
This commit is contained in:
parent
cfbcacce79
commit
d263526246
|
@ -875,6 +875,7 @@ namespace libtorrent
|
||||||
bool was_conn_cand = is_connect_candidate(*p, m_finished);
|
bool was_conn_cand = is_connect_candidate(*p, m_finished);
|
||||||
p->port = port;
|
p->port = port;
|
||||||
p->source |= src;
|
p->source |= src;
|
||||||
|
p->connectable = true;
|
||||||
|
|
||||||
if (was_conn_cand != is_connect_candidate(*p, m_finished))
|
if (was_conn_cand != is_connect_candidate(*p, m_finished))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue