Skip to content

Commit ebf6f0b

Browse files
committed
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.
1 parent 7ecb39d commit ebf6f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uvloop/loop.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ cdef class Loop:
23162316
local_addr)) from ctx
23172317

23182318
if rads is not None:
2319-
rai = (<AddrInfo>lads).data
2319+
rai = (<AddrInfo>rads).data
23202320
sock = udp._get_socket()
23212321
while rai is not NULL:
23222322
if rai.ai_family != lai.ai_family:

0 commit comments

Comments
 (0)