summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2018-04-28 03:17:45 +0200
committerkpcyrd <git@rxv.cc>2018-05-02 19:24:55 +0200
commitc838e64517ddfcaf7a45622c92af3a4a46d46fdd (patch)
treec60911b609af07f57ff8143d9c655c098ae8f1b1
parenta773b8870a31a9b77c26d5e46145567371bc0ee2 (diff)
downloadnix-c838e64517ddfcaf7a45622c92af3a4a46d46fdd.zip
OpenBSD: remove IFF_NOTRAILERS
IFF_NOTRAILERS has been removed in OpenBSD 6.3 https://github.com/openbsd/src/commit/beb8b0dd5985e55a615b52e593da6e75bab33f3f
-rw-r--r--CHANGELOG.md2
-rw-r--r--src/net/if_.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b78c59f..bc053fd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,6 +47,8 @@ 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))
+- Remove `IFF_NOTRAILERS` on OpenBSD, as it has been removed in OpenBSD 6.3
+ ([#893](https://github.com/nix-rust/nix/pull/893))
### Fixed
- Properly exposed 460800 and 921600 baud rates on NetBSD
diff --git a/src/net/if_.rs b/src/net/if_.rs
index 0da9016a..714eac77 100644
--- a/src/net/if_.rs
+++ b/src/net/if_.rs
@@ -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.