(trunk libT) < Rolcol> For example: I have a lot of addresses in the message

log as "funny looking address" as something like ::ffff:192.168.1.1

These were coming from pex6. Apparently there is a client out there that sends
us IPv4 peers in mapped form. It's valid, but a little strange...
This commit is contained in:
Erick Turnquist 2009-01-01 00:34:44 +00:00
parent bd5463a37e
commit e9f32d7523
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ tr_suspectAddress( const tr_address * a, const char * source )
good = TRUE;
p++;
}
if( !good )
if( !good && !IN6_IS_ADDR_V4MAPPED( &a->addr.addr6 ) )
tr_err( "Funny looking address %s from %s", tr_ntop_non_ts( a ), source );
}
}