Skip to content

Commit

Permalink
Fix network families
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Sep 17, 2017
1 parent 914853b commit 00c7ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/sys/redox/net/netc.rs
Expand Up @@ -14,8 +14,8 @@ pub type in_port_t = u16;
pub type socklen_t = u32;
pub type sa_family_t = u16;

pub const AF_INET: sa_family_t = 1;
pub const AF_INET6: sa_family_t = 2;
pub const AF_INET: sa_family_t = 2;
pub const AF_INET6: sa_family_t = 23;

#[derive(Copy, Clone)]
#[repr(C)]
Expand Down

0 comments on commit 00c7ea5

Please sign in to comment.