Skip to content

Commit 00c7ea5

Browse files
committed
Fix network families
1 parent 914853b commit 00c7ea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sys/redox/net/netc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ pub type in_port_t = u16;
1414
pub type socklen_t = u32;
1515
pub type sa_family_t = u16;
1616

17-
pub const AF_INET: sa_family_t = 1;
18-
pub const AF_INET6: sa_family_t = 2;
17+
pub const AF_INET: sa_family_t = 2;
18+
pub const AF_INET6: sa_family_t = 23;
1919

2020
#[derive(Copy, Clone)]
2121
#[repr(C)]

0 commit comments

Comments
 (0)