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 a773b88 commit fa310a0
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 @@ -47,6 +47,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
([#833](https://github.com/nix-rust/nix/pull/833))
- Enabled more `ptrace::Request` definitions for uncommon Linux platforms
([#892](https://github.com/nix-rust/nix/pull/892))
- 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 fa310a0

Please sign in to comment.