Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
src: compare IPv4 addresses in host byte order
This commit updates compare_ipv4() to use the host byte order. PR-URL: #39096 Fixes: #39074 Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
- Loading branch information
Showing
with
25 additions
and 2 deletions.
- +4 −2 src/node_sockaddr.cc
- +21 −0 test/parallel/test-blocklist.js