Fixed typo in setsockopt invocation which sets TTL.
This commit is contained in:
parent
af2ec81f14
commit
2c56ffceeb
|
@ -528,7 +528,7 @@ upnpDiscoverDevices(const char * const deviceTypes[],
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl) < 0))
|
if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0)
|
||||||
{
|
{
|
||||||
/* not a fatal error */
|
/* not a fatal error */
|
||||||
PRINT_SOCKET_ERROR("setsockopt(IP_MULTICAST_TTL,...)");
|
PRINT_SOCKET_ERROR("setsockopt(IP_MULTICAST_TTL,...)");
|
||||||
|
|
Loading…
Reference in New Issue