Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gethostbyaddr for IPv6 arguments, remove mutable state
caml_gethostbyaddr always calls gethostbyaddr with address type AF_INET, i.e., IPv4, even when its argument is an IPv6 address. This commit also removes a file-local mutable variable for the sake of domain safety.
- Loading branch information
1 parent
13f23d5
commit 0f0ac10
Showing
1 changed file
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters