mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Broadcast to localhost if listening only on localhost.
This commit is contained in:
@@ -603,7 +603,7 @@ bool UdpBroadcast::Open( const char* addr, uint16_t port )
|
||||
if( !ptr ) return false;
|
||||
|
||||
m_sock = sock;
|
||||
m_addr = inet_addr( addr );
|
||||
inet_pton( AF_INET, addr, &m_addr );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user