mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +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;
|
NetAddress listenAddress;
|
||||||
char listenAddressStr[256];
|
char listenAddressStr[256];
|
||||||
error = PlatformNetState::getSocketAddress(socketFd, AF_INET6, &listenAddress);
|
Net::addressToString(&multicastAddress, listenAddressStr);
|
||||||
if (error == NoError)
|
Con::printf("Multicast initialized on %s", listenAddressStr);
|
||||||
{
|
|
||||||
Net::addressToString(&listenAddress, listenAddressStr);
|
|
||||||
Con::printf("Multicast initialized on %s", listenAddressStr);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error != NoError)
|
if (error != NoError)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue