udpsrc: Use correct in6_pktinfo struct instead of in_pktinfo
Fixes the build on FreeBSD, which does not have the latter. https://bugzilla.gnome.org/show_bug.cgi?id=768623
This commit is contained in:
parent
eaa01071e0
commit
ccdd76fd18
@ -285,7 +285,7 @@ gst_ipv6_pktinfo_message_deserialize (gint level,
|
||||
if (level != IPPROTO_IPV6 || type != IPV6_PKTINFO)
|
||||
return NULL;
|
||||
|
||||
if (size < sizeof (struct in_pktinfo))
|
||||
if (size < sizeof (struct in6_pktinfo))
|
||||
return NULL;
|
||||
|
||||
pktinfo = data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user