udp: Fix a simple typo in the previous commit
Use #ifdef instead of #if, to fix the build
This commit is contained in:
parent
034a4a771e
commit
a097571c0a
@ -180,7 +180,7 @@ gst_udp_join_group (int sockfd, struct sockaddr_storage *addr, gchar * iface)
|
|||||||
|
|
||||||
mreq4.imr_multiaddr.s_addr =
|
mreq4.imr_multiaddr.s_addr =
|
||||||
((struct sockaddr_in *) addr)->sin_addr.s_addr;
|
((struct sockaddr_in *) addr)->sin_addr.s_addr;
|
||||||
#if HAVE_IP_MREQN
|
#ifdef HAVE_IP_MREQN
|
||||||
if (iface)
|
if (iface)
|
||||||
mreq4.imr_ifindex = if_nametoindex (iface);
|
mreq4.imr_ifindex = if_nametoindex (iface);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user