mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ gst_ipv6_pktinfo_message_deserialize (gint level,
|
||||||
if (level != IPPROTO_IPV6 || type != IPV6_PKTINFO)
|
if (level != IPPROTO_IPV6 || type != IPV6_PKTINFO)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (size < sizeof (struct in_pktinfo))
|
if (size < sizeof (struct in6_pktinfo))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
pktinfo = data;
|
pktinfo = data;
|
||||||
|
|
Loading…
Reference in a new issue