udpsrc: Use correct in6_pktinfo struct instead of in_pktinfo
authorSebastian Dröge <sebastian@centricular.com>
Sun, 10 Jul 2016 18:30:27 +0000 (21:30 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 10 Jul 2016 18:30:58 +0000 (21:30 +0300)
Fixes the build on FreeBSD, which does not have the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=768623

gst/udp/gstudpsrc.c

index efa2095..dcd99ba 100644 (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;