mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Use correct address in multicast print
This commit is contained in:
parent
41085f9298
commit
46edd46634
1 changed files with 2 additions and 6 deletions
|
|
@ -1994,12 +1994,8 @@ void Net::enableMulticast()
|
|||
{
|
||||
NetAddress listenAddress;
|
||||
char listenAddressStr[256];
|
||||
error = PlatformNetState::getSocketAddress(socketFd, AF_INET6, &listenAddress);
|
||||
if (error == NoError)
|
||||
{
|
||||
Net::addressToString(&listenAddress, listenAddressStr);
|
||||
Con::printf("Multicast initialized on %s", listenAddressStr);
|
||||
}
|
||||
Net::addressToString(&multicastAddress, listenAddressStr);
|
||||
Con::printf("Multicast initialized on %s", listenAddressStr);
|
||||
}
|
||||
|
||||
if (error != NoError)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue