Skip to content

Commit

Permalink
Enable Ipv6PacketInfo on more OSes.
Browse files Browse the repository at this point in the history
This was an oversight from PR nix-rust#1002
  • Loading branch information
asomers committed Jan 31, 2019
1 parent e8407f7 commit 8220a19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sys/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,13 @@ pub enum ControlMessageOwned {
Ipv4PacketInfo(libc::in_pktinfo),
#[cfg(any(
target_os = "android",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "ios",
target_os = "linux",
target_os = "macos"
target_os = "macos",
target_os = "openbsd",
target_os = "netbsd",
))]
Ipv6PacketInfo(libc::in6_pktinfo),
#[cfg(any(
Expand Down

0 comments on commit 8220a19

Please sign in to comment.