[New-bugs-announce] [issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

Mathew Martineau report at bugs.python.org
Tue Feb 2 01:13:34 CET 2010


New submission from Mathew Martineau <mat at martineau.name>:

The sockaddr_l2 struct used with connect() has changed in recent versions of the Linux kernel.  There is a new l2_cid member.

connect() only works with L2CAP sockets if l2_cid is set to 0.

Suggest initializing the whole sockaddr_l2 struct to 0 in getsockaddrarg() (socketmodule.c).

----------
components: Extension Modules
messages: 98700
nosy: Mathew.Martineau
severity: normal
status: open
title: socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

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


More information about the New-bugs-announce mailing list