Skip to content

Commit

Permalink
hio_set_localaddr in UdpClient::bind function
Browse files Browse the repository at this point in the history
  • Loading branch information
ithewei committed Apr 3, 2024
1 parent 4d4f8c2 commit a4e09ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evpp/UdpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class UdpClientEventLoopTmpl {
if (ret != 0) {
perror("bind");
}
hio_set_localaddr(channel->io(), &local_addr.sa, SOCKADDR_LEN(&local_addr));
return ret;
}

Expand Down

0 comments on commit a4e09ed

Please sign in to comment.