mirror of
https://github.com/transmission/transmission
synced 2024-12-27 10:07:40 +00:00
(trunk libT) fix tracker IPv6 error reported by the earth spirit
This commit is contained in:
parent
a6a29923c7
commit
4b414e8f2d
1 changed files with 1 additions and 2 deletions
|
@ -291,13 +291,12 @@ publishNewPeersCompact6( tr_tracker * t,
|
|||
{
|
||||
memcpy( &addr.addr.addr6, compactWalk, 16 );
|
||||
memcpy( &port, compactWalk + 16, 2 );
|
||||
compactWalk += 16;
|
||||
tr_suspectAddress( &addr, "compact6" );
|
||||
|
||||
memcpy( walk, &addr, sizeof( addr ) );
|
||||
memcpy( walk + sizeof( addr ), &port, 2 );
|
||||
|
||||
walk += sizeof( tr_address ) + 2;
|
||||
compactWalk += 6;
|
||||
}
|
||||
publishNewPeers( t, allAreSeeds, array, arrayLen );
|
||||
tr_free( array );
|
||||
|
|
Loading…
Reference in a new issue