Skip to content

Commit 8eb3c9b

Browse files
committed
Enable Ipv6PacketInfo on more OSes.
This was an oversight from PR #1002
1 parent 1496d39 commit 8eb3c9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sys/socket/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,10 +548,13 @@ pub enum ControlMessageOwned {
548548
Ipv4PacketInfo(libc::in_pktinfo),
549549
#[cfg(any(
550550
target_os = "android",
551+
target_os = "dragonfly",
551552
target_os = "freebsd",
552553
target_os = "ios",
553554
target_os = "linux",
554-
target_os = "macos"
555+
target_os = "macos",
556+
target_os = "openbsd",
557+
target_os = "netbsd",
555558
))]
556559
Ipv6PacketInfo(libc::in6_pktinfo),
557560
#[cfg(any(

0 commit comments

Comments
 (0)