1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 13:46:52 +00:00

Don't propagate information about ut_holepunch over PEX.

It's not useful, says Greg.
This commit is contained in:
Juliusz Chroboczek 2011-02-18 00:36:31 +00:00
parent c9c2ad7c57
commit e35d1aacaf

View file

@ -939,12 +939,6 @@ parseLtepHandshake( tr_peermsgs * msgs,
msgs->ut_metadata_id = (uint8_t) i;
dbgmsg( msgs, "msgs->ut_metadata_id is %d", (int)msgs->ut_metadata_id );
}
/* We don't support ut_holepunch yet, but we might as well
propagate this information over PEX. */
if( tr_bencDictFindInt( sub, "ut_holepunch", &i ) ) {
if( i != 0 )
pex.flags |= ADDED_F_HOLEPUNCH;
}
}
/* look for metainfo size (BEP 9) */