From ccdd76fd1882b7ede3e9e9143365e061a850b4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 10 Jul 2016 21:30:27 +0300 Subject: [PATCH] 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 --- gst/udp/gstudpsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index efa2095292..dcd99ba202 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -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;