Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getnameinfo() returns host and port in the opposite order of
unpack_sockaddr_in(). Swap the return values so the right ones appear in ARG1 and ARG2. Thanks to Luiz Eduardo Roncato Cordeiro at CERT Brazil for spotting the problem and suggesting the fix. This should resolve his rt.cpan.org ticket, #68959.
- Loading branch information