Commit d6de4f03 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix DCCP support

parent 5e7a4217
......@@ -131,7 +131,10 @@ int *net_Listen (vlc_object_t *p_this, const char *psz_host,
break;
case 33: /* DCCP */
#ifdef __linux__
socktype = 6;
# ifndef SOCK_DCCP
# define SOCK_DCCP 6
# endif
socktype = SOCK_DCCP;
#endif
break;
}
......@@ -215,7 +218,7 @@ int *net_Listen (vlc_object_t *p_this, const char *psz_host,
}
/* Listen */
switch (ptr->ai_socktype)
switch (socktype)
{
case SOCK_STREAM:
case SOCK_RDM:
......
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