Fix typo in create_datagram_endpoint

Typo causes create_datagram_endpoint to send traffic to the local_addr
instead of the remote_addr.

Closes #45.
This commit is contained in:
Simon Gomizelj 2016-08-12 20:02:23 -04:00
parent 7ecb39d3ad
commit ebf6f0b949
1 changed files with 1 additions and 1 deletions

View File

@ -2316,7 +2316,7 @@ cdef class Loop:
local_addr)) from ctx
if rads is not None:
rai = (<AddrInfo>lads).data
rai = (<AddrInfo>rads).data
sock = udp._get_socket()
while rai is not NULL:
if rai.ai_family != lai.ai_family: