[New-bugs-announce] [issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

Mike Ryan report at bugs.python.org
Sat Dec 26 14:35:41 EST 2015


New submission from Mike Ryan:

The AF_BLUETOOTH socket type lacks support for specifying CID and address type in sockaddr_l2. These structure members have been present since 2009 and 2012 respectively:

https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=3de95535
https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=ba801fcd

The current version of the full structure can be found here:

https://git.kernel.org/cgit/bluetooth/bluez.git/tree/lib/l2cap.h?id=1b9e48f4#n40

The Python code in question can be found here:

https://github.com/python/cpython/blob/4f9794dbcaa6ee7ddc6ab175a57e7f01ebe64353/Modules/socketmodule.c#L1108

----------
components: Extension Modules
messages: 257043
nosy: mikeryan
priority: normal
severity: normal
status: open
title: sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25957>
_______________________________________


More information about the New-bugs-announce mailing list