Commit a38fc196 authored by Gildas Bazin's avatar Gildas Bazin

* src/stream_output/announce.c: inet_pton() isn't supported on win32 so...

* src/stream_output/announce.c: inet_pton() isn't supported on win32 so disabled ipv6 sap announces on win32.

Wouldn't it be possible to use send() instead of sendto() ? That would simplify the code and get rid of this problem.
parent 07b9ad38
......@@ -141,7 +141,9 @@ sap_session_t * sout_SAPNew ( sout_instance_t *p_sout ,
return NULL;
}
#ifndef WIN32
i_status = inet_pton(AF_INET6,sap_ipv6_addr,net_ipv6_addr);
#endif
if(i_status < 0 )
{
msg_Warn(p_sout,"Unable to convert address to network format");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment