Skip to content

Commit 82146cf

Browse files
committed
feat(abi): make AF_INET = 3
1 parent 674aa06 commit 82146cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hermit-abi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub const RAND_MAX: i32 = 2_147_483_647;
8888

8989
pub const AF_UNSPEC: i32 = 0;
9090
/// Socket address family: IPv4
91-
pub const AF_INET: i32 = 0;
91+
pub const AF_INET: i32 = 3;
9292
/// Socket address family: IPv6
9393
pub const AF_INET6: i32 = 1;
9494
/// Socket address family: VSOCK protocol for hypervisor-guest communication

0 commit comments

Comments
 (0)