p2p/discover: fix race in ListenUDP
udp.Table was assigned after the readLoop started, so packets could arrive and be processed before the Table was there.
Showing
Please register or sign in to comment
udp.Table was assigned after the readLoop started, so packets could arrive and be processed before the Table was there.