Skip to content

Commit

Permalink
Auto merge of rust-lang#792 - justinlatimer:ip-bindany, r=alexcrichton
Browse files Browse the repository at this point in the history
Add IP_BINDANY for FreeBSD

Adds the IP_BINDANY constant for FreeBSD. Thanks!
  • Loading branch information
bors committed Oct 5, 2017
2 parents 9742273 + 1daf1c2 commit 0c1608a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ pub const IPPROTO_DIVERT: ::c_int = 258;
/// SeND pseudo-protocol
pub const IPPROTO_SEND: ::c_int = 259;

pub const IP_BINDANY: ::c_int = 24;

pub const PF_SLOW: ::c_int = AF_SLOW;
pub const PF_SCLUSTER: ::c_int = AF_SCLUSTER;
pub const PF_ARP: ::c_int = AF_ARP;
Expand Down

0 comments on commit 0c1608a

Please sign in to comment.