Skip to content

Commit 1a36b63

Browse files
Niklas HallqvistThomasdezeeuw
authored andcommitted
OpenBSD does not support IPv4 source specific multicast (SSM).
1 parent 2ebc3cd commit 1a36b63

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
@@ -1195,6 +1195,7 @@ impl Socket {
11951195
target_os = "dragonfly",
11961196
target_os = "haiku",
11971197
target_os = "netbsd",
1198+
target_os = "openbsd",
11981199
target_os = "redox",
11991200
target_os = "fuchsia",
12001201
)))]
@@ -1228,6 +1229,7 @@ impl Socket {
12281229
target_os = "dragonfly",
12291230
target_os = "haiku",
12301231
target_os = "netbsd",
1232+
target_os = "openbsd",
12311233
target_os = "redox",
12321234
target_os = "fuchsia",
12331235
)))]

src/sys/unix.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ pub(crate) use libc::{
109109
target_os = "dragonfly",
110110
target_os = "haiku",
111111
target_os = "netbsd",
112+
target_os = "openbsd",
112113
target_os = "redox",
113114
target_os = "fuchsia",
114115
)))]

tests/socket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,7 @@ test!(
12081208
target_os = "haiku",
12091209
target_os = "illumos",
12101210
target_os = "netbsd",
1211+
target_os = "openbsd",
12111212
target_os = "redox",
12121213
target_os = "solaris",
12131214
)))]
@@ -1236,6 +1237,7 @@ fn join_leave_multicast_v4_n() {
12361237
target_os = "dragonfly",
12371238
target_os = "haiku",
12381239
target_os = "netbsd",
1240+
target_os = "openbsd",
12391241
target_os = "redox",
12401242
target_os = "fuchsia",
12411243
)))]

0 commit comments

Comments
 (0)