Fix network families

This commit is contained in:
Jeremy Soller
2017-09-16 20:54:11 -06:00
parent 914853bbfa
commit 00c7ea5f53

View File

@@ -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)]