Package: bittornado Version: 0.3.15-3 Followup-For: Bug #305388 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The logic in the SocketHandler.py bind implemenation seems to be at fault. ipv6_socket_style is 1 for ipv6_binds_to_ipv4, so it should only bind to AF_INET if ipv6_socket_style == 0. - --- bittornado/BitTornado/SocketHandler.py.orig 2006-10-20 16:43:26.000000000 +0200 +++ bittornado/BitTornado/SocketHandler.py 2006-10-20 16:43:36.000000000 +0200 @@ -166,7 +166,7 @@ else: if self.ipv6_enable: addrinfos.append([socket.AF_INET6, None, None, None, ('', port)]) - - if not addrinfos or ipv6_socket_style != 0: + if not addrinfos or ipv6_socket_style == 0: addrinfos.append([socket.AF_INET, None, None, None, ('', port)]) for addrinfo in addrinfos: try: - -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19-rc2-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages bittornado depends on: ii python 2.4.3-11 An interactive high-level object-o ii python-support 0.5.4 automated rebuilding support for p Versions of packages bittornado recommends: ii mime-support 3.37-1 MIME files 'mime.types' & 'mailcap - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFOOJWWeSjpYPhJEoRAiWzAJ9rKD5hetJcAzweJAgFEgdHEfYmIQCff0kD rMimTf2I8J5yOQ/25X3w2Ts= =LXqa -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]