Skip to content

Commit 5b995a0

Browse files
kworrThomasdezeeuw
authored andcommitted
also properly disable SSM for DragonFly
1 parent 890715f commit 5b995a0

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
@@ -1192,6 +1192,7 @@ impl Socket {
11921192
/// multicast group. If it's [`Ipv4Addr::UNSPECIFIED`] (`INADDR_ANY`) then
11931193
/// an appropriate interface is chosen by the system.
11941194
#[cfg(not(any(
1195+
target_os = "dragonfly",
11951196
target_os = "haiku",
11961197
target_os = "netbsd",
11971198
target_os = "redox",
@@ -1224,6 +1225,7 @@ impl Socket {
12241225
///
12251226
/// [`join_ssm_v4`]: Socket::join_ssm_v4
12261227
#[cfg(not(any(
1228+
target_os = "dragonfly",
12271229
target_os = "haiku",
12281230
target_os = "netbsd",
12291231
target_os = "redox",

src/sys/unix.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ pub(crate) use libc::{
106106
SO_RCVTIMEO, SO_REUSEADDR, SO_SNDBUF, SO_SNDTIMEO, SO_TYPE, TCP_NODELAY,
107107
};
108108
#[cfg(not(any(
109+
target_os = "dragonfly",
109110
target_os = "haiku",
110111
target_os = "netbsd",
111112
target_os = "redox",

0 commit comments

Comments
 (0)