From 468910f3b22d0e96c72268e51f4188726191653b Mon Sep 17 00:00:00 2001 From: Gautham Date: Thu, 28 Aug 2025 13:01:51 -0500 Subject: [PATCH] PF_INET = 2 for NT as per Windows socket API docs, PF_INET = AF_INET = 2. --- libc/sysv/consts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/sysv/consts.sh b/libc/sysv/consts.sh index 353bfc464..920f680da 100755 --- a/libc/sysv/consts.sh +++ b/libc/sysv/consts.sh @@ -972,7 +972,7 @@ syscon pf PF_APPLETALK 5 5 0x10 0x10 0x10 0x10 0x10 0x10 # bs syscon pf PF_SNA 22 22 11 11 11 11 11 11 # bsd consensus syscon pf PF_INET6 10 10 30 30 28 24 24 23 syscon pf PF_MAX 42 42 40 40 42 36 36 35 -syscon pf PF_INET 2 2 2 2 2 2 2 0 # unix consensus +syscon pf PF_INET 2 2 2 2 2 2 2 2 # unix consensus syscon pf PF_LOCAL 1 1 1 1 1 1 1 0 # unix consensus syscon pf PF_IPX 4 4 23 23 23 23 23 0 # bsd consensus syscon pf PF_ROUTE 0x10 0x10 17 17 17 17 17 0 # bsd consensus