threadshare: net: correct the member name in ip_mreq

missed changing to `ifr_interface` after switching to the libc crate

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1917>
This commit is contained in:
Taruntej Kanakamalla 2024-11-14 16:43:59 +05:30
parent b16379d00b
commit 1963dad67e

View file

@ -213,7 +213,7 @@ pub mod imp {
imr_multiaddr: in_addr { imr_multiaddr: in_addr {
s_addr: u32::from_ne_bytes(addr.octets()), s_addr: u32::from_ne_bytes(addr.octets()),
}, },
imr_address: in_addr { imr_interface: in_addr {
s_addr: u32::from_ne_bytes(ip_addr.octets()), s_addr: u32::from_ne_bytes(ip_addr.octets()),
}, },
}; };