Skip to content

Commit

Permalink
OpenBSD: rename IFF_NOTRAILERS to IFF_STATICARP
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Apr 29, 2018
1 parent c2fb79e commit a70a3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
`request_code_write`, and `request_code_readwrite` respectively. These have also now been exposed
in the documentation.
([#833](https://github.com/nix-rust/nix/pull/833))
- On OpenBSD, `IFF_NOTRAILERS` has been renamed to `IFF_STATICARP`, this breaks OpenBSD < 6.3.

### Fixed
- Properly exposed 460800 and 921600 baud rates on NetBSD
Expand Down
3 changes: 1 addition & 2 deletions src/net/if_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ libc_bitflags!(
target_os = "linux",
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd",
target_os = "solaris"))]
IFF_NOTRAILERS;
/// Interface manages own routes.
Expand Down Expand Up @@ -186,7 +185,7 @@ libc_bitflags!(
#[cfg(any(target_os = "solaris"))]
IFF_DEPRECATED;
/// Static ARP.
#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))]
#[cfg(any(target_os = "dragonfly", target_os = "openbsd", target_os = "freebsd"))]
IFF_STATICARP;
/// Address from stateless addrconf.
#[cfg(any(target_os = "solaris"))]
Expand Down

0 comments on commit a70a3b7

Please sign in to comment.