Public bug reported:

0.1~bzr42-0ubuntu2 (and earlier) fail to work for ipv6 clients, with the
following traceback:

          File "/usr/lib/python3/dist-packages/tftp/protocol.py", line 95, in 
_startSession
            reactor.listenUDP(0, session)
          File "/usr/lib/python3/dist-packages/twisted/internet/posixbase.py", 
line 369, in listenUDP
            p.startListening()
          File "/usr/lib/python3/dist-packages/twisted/internet/udp.py", line 
178, in startListening
            self._connectToProtocol()
          File "/usr/lib/python3/dist-packages/twisted/internet/udp.py", line 
216, in _connectToProtocol
            self.protocol.makeConnection(self)
          File "/usr/lib/python3/dist-packages/twisted/internet/protocol.py", 
line 724, in makeConnection
            self.doStart()
          File "/usr/lib/python3/dist-packages/twisted/internet/protocol.py", 
line 688, in doStart
            self.startProtocol()
          File "/usr/lib/python3/dist-packages/tftp/bootstrap.py", line 378, in 
startProtocol
            self.transport.connect(*self.remote)
          File "/usr/lib/python3/dist-packages/twisted/internet/udp.py", line 
326, in connect
            self.socket.connect((host, port))
        socket.gaierror: [Errno -9] Address family for hostname not supported

The attached patch fixes the issue.

** Affects: python-tx-tftp (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Fixes the issue"
   https://bugs.launchpad.net/bugs/1614581/+attachment/4723530/+files/tftp.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1614581

Title:
  Fails to handle requests from ipv6 hosts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tx-tftp/+bug/1614581/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to