fix obvious bug, thanks mattn2

This commit is contained in:
Thilo Schulz 2008-04-16 20:57:08 +00:00
parent 7a8c1ddaa6
commit d77d3e0658

View file

@ -928,7 +928,7 @@ void NET_SetMulticast6(void)
memcpy(&curgroup.ipv6mr_multiaddr, &addr.sin6_addr, sizeof(curgroup.ipv6mr_multiaddr)); memcpy(&curgroup.ipv6mr_multiaddr, &addr.sin6_addr, sizeof(curgroup.ipv6mr_multiaddr));
if(!*net_mcast6iface->string) if(*net_mcast6iface->string)
{ {
#ifdef _WIN32 #ifdef _WIN32
curgroup.ipv6mr_interface = atoi(net_mcast6iface->string); curgroup.ipv6mr_interface = atoi(net_mcast6iface->string);