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:
Sebastian Dröge 2016-07-10 21:30:27 +03:00
parent eaa01071e0
commit ccdd76fd18

View file

@ -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;