From 19d43a3e6fb4cb8ea11747d7d7bca7a3542fbb44 Mon Sep 17 00:00:00 2001 From: shadchin Date: Sat, 7 Feb 2026 19:56:35 +0300 Subject: Update Python 3 to 3.13.12 commit_hash:71d3efea437a769b2b7910d196120bb02587046e --- contrib/tools/python3/Modules/socketmodule.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib/tools/python3/Modules/socketmodule.c') diff --git a/contrib/tools/python3/Modules/socketmodule.c b/contrib/tools/python3/Modules/socketmodule.c index edc79c9d3b8..6df7401133a 100644 --- a/contrib/tools/python3/Modules/socketmodule.c +++ b/contrib/tools/python3/Modules/socketmodule.c @@ -2649,6 +2649,11 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret) /* RDS sockets use sockaddr_in: fall-through */ #endif /* AF_RDS */ +#ifdef AF_DIVERT + case AF_DIVERT: + /* FreeBSD divert(4) sockets use sockaddr_in: fall-through */ +#endif /* AF_DIVERT */ + case AF_INET: { *len_ret = sizeof (struct sockaddr_in); -- cgit v1.3