summaryrefslogtreecommitdiffstats
path: root/main/musl/add-rfc3678-mcast-structs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/musl/add-rfc3678-mcast-structs.patch')
-rw-r--r--main/musl/add-rfc3678-mcast-structs.patch17
1 files changed, 9 insertions, 8 deletions
diff --git a/main/musl/add-rfc3678-mcast-structs.patch b/main/musl/add-rfc3678-mcast-structs.patch
index b7abcf166..c453d1403 100644
--- a/main/musl/add-rfc3678-mcast-structs.patch
+++ b/main/musl/add-rfc3678-mcast-structs.patch
@@ -27,21 +27,21 @@ index d886fc2..b7a8a7a 100644
};
+struct ip_mreq_source {
-+ uint32_t imr_multiaddr;
-+ uint32_t imr_interface;
-+ uint32_t imr_sourceaddr;
++ struct in_addr imr_multiaddr;
++ struct in_addr imr_interface;
++ struct in_addr imr_sourceaddr;
+};
+
+struct ip_msfilter {
-+ uint32_t imsf_multiaddr;
-+ uint32_t imsf_interface;
++ struct in_addr imsf_multiaddr;
++ struct in_addr imsf_interface;
+ uint32_t imsf_fmode;
+ uint32_t imsf_numsrc;
-+ uint32_t imsf_slist[1];
++ struct in_addr imsf_slist[1];
+};
+#define IP_MSFILTER_SIZE(numsrc) \
-+ (sizeof(struct ip_msfilter) - sizeof(uint32_t) \
-+ + (numsrc) * sizeof(uint32_t))
++ (sizeof(struct ip_msfilter) - sizeof(struct in_addr) \
++ + (numsrc) * sizeof(struct in_addr))
+
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+struct group_req {
@@ -74,3 +74,4 @@ index d886fc2..b7a8a7a 100644
1.8.3.3
+