]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132429: Fix support of Bluetooth sockets on NetBSD and DragonFly BSD (GH-132431)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 12 Apr 2025 20:57:34 +0000 (23:57 +0300)
committerGitHub <noreply@github.com>
Sat, 12 Apr 2025 20:57:34 +0000 (23:57 +0300)
commitf2f86d3f459a89273ea22389bb57eed402908302
tree085799551616346e9e9bba1f35215b932cc08d74
parent9634085af3670b1eb654e3c7820aca66f358f39f
gh-132429: Fix support of Bluetooth sockets on NetBSD and DragonFly BSD (GH-132431)

* Also add support for cid and bdaddr_type in the BTPROTO_L2CAP address on FreeBSD.
* Return cid in getsockname() for BTPROTO_L2CAP if it is not zero.
* Fix a compiler warning on FreeBSD.
Lib/test/test_socket.py
Misc/NEWS.d/next/Library/2025-04-12-12-59-51.gh-issue-132429.OEIdlW.rst [new file with mode: 0644]
Modules/socketmodule.c
Modules/socketmodule.h