diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-15 13:21:56 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-15 13:21:56 +0000 |
commit | 175be511693dd395e4f0c3a14cf69ef19a482cf2 (patch) | |
tree | 49c8df46d94e3e7f4b62f39029edbfad55f4321a /src/sys/ioctl/mod.rs | |
parent | d5aec34836672f1835e4c222f90b499eee7b5845 (diff) | |
parent | a75bcfecd0888acf949811cb4085c5cec51ef488 (diff) | |
download | nix-175be511693dd395e4f0c3a14cf69ef19a482cf2.zip |
Merge #948
948: socket: add AF_UNSPEC to AddressFamily r=asomers a=levex
Hi!
I work on a [crate](https://github.com/levex/network-bridge-rs) where it would make sense to use `AF_UNSPEC` in place of `AF_INET`, since that's the API most bridge libraries use. Unfortunately, it seems that `nix` is missing a representation for `AF_UNSPEC`. This PR adds `Unspec` to `AddressFamily`, so we can now represent `AF_UNSPEC`.
Co-authored-by: Levente Kurusa <lkurusa@acm.org>
Diffstat (limited to 'src/sys/ioctl/mod.rs')
0 files changed, 0 insertions, 0 deletions