We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914853b commit 00c7ea5Copy full SHA for 00c7ea5
src/libstd/sys/redox/net/netc.rs
@@ -14,8 +14,8 @@ pub type in_port_t = u16;
14
pub type socklen_t = u32;
15
pub type sa_family_t = u16;
16
17
-pub const AF_INET: sa_family_t = 1;
18
-pub const AF_INET6: sa_family_t = 2;
+pub const AF_INET: sa_family_t = 2;
+pub const AF_INET6: sa_family_t = 23;
19
20
#[derive(Copy, Clone)]
21
#[repr(C)]
0 commit comments