Skip to content

Commit 11cfe5d

Browse files
Niklas HallqvistThomasdezeeuw
authored andcommitted
OpenBSD does not support IPv4 source specific multicast (SSM).
1 parent 700ccad commit 11cfe5d

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/socket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,7 @@ impl Socket {
12181218
target_os = "dragonfly",
12191219
target_os = "haiku",
12201220
target_os = "netbsd",
1221+
target_os = "openbsd",
12211222
target_os = "redox",
12221223
target_os = "fuchsia",
12231224
)))]
@@ -1251,6 +1252,7 @@ impl Socket {
12511252
target_os = "dragonfly",
12521253
target_os = "haiku",
12531254
target_os = "netbsd",
1255+
target_os = "openbsd",
12541256
target_os = "redox",
12551257
target_os = "fuchsia",
12561258
)))]

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
target_os = "dragonfly",
107107
target_os = "haiku",
108108
target_os = "netbsd",
109+
target_os = "openbsd",
109110
target_os = "redox",
110111
target_os = "fuchsia",
111112
)))]

tests/socket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,7 @@ test!(
12201220
target_os = "haiku",
12211221
target_os = "illumos",
12221222
target_os = "netbsd",
1223+
target_os = "openbsd",
12231224
target_os = "redox",
12241225
target_os = "solaris",
12251226
)))]
@@ -1248,6 +1249,7 @@ fn join_leave_multicast_v4_n() {
12481249
target_os = "dragonfly",
12491250
target_os = "haiku",
12501251
target_os = "netbsd",
1252+
target_os = "openbsd",
12511253
target_os = "redox",
12521254
target_os = "fuchsia",
12531255
)))]

0 commit comments

Comments
 (0)