mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Use correct address in multicast print
This commit is contained in:
parent
41085f9298
commit
46edd46634
|
|
@ -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…
Reference in a new issue