Skip to content

Commit 4c56bb9

Browse files
kworrThomasdezeeuw
authored andcommitted
also properly disable SSM for DragonFly
1 parent a8f7258 commit 4c56bb9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/socket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,7 @@ impl Socket {
12151215
/// multicast group. If it's [`Ipv4Addr::UNSPECIFIED`] (`INADDR_ANY`) then
12161216
/// an appropriate interface is chosen by the system.
12171217
#[cfg(not(any(
1218+
target_os = "dragonfly",
12181219
target_os = "haiku",
12191220
target_os = "netbsd",
12201221
target_os = "redox",
@@ -1247,6 +1248,7 @@ impl Socket {
12471248
///
12481249
/// [`join_ssm_v4`]: Socket::join_ssm_v4
12491250
#[cfg(not(any(
1251+
target_os = "dragonfly",
12501252
target_os = "haiku",
12511253
target_os = "netbsd",
12521254
target_os = "redox",

src/sys/unix.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ pub(crate) use libc::{
103103
SO_RCVTIMEO, SO_REUSEADDR, SO_SNDBUF, SO_SNDTIMEO, SO_TYPE, TCP_NODELAY,
104104
};
105105
#[cfg(not(any(
106+
target_os = "dragonfly",
106107
target_os = "haiku",
107108
target_os = "netbsd",
108109
target_os = "redox",

0 commit comments

Comments
 (0)