Fix octal IP address string parsing on OSX (dotnet/corefx#9477)
authorEric Eilebrecht <ericeil@users.noreply.github.com>
Thu, 16 Jun 2016 23:18:50 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Thu, 16 Jun 2016 23:18:50 +0000 (16:18 -0700)
commit5b85c4691d2bc50192d900c1d533a64580c5efc9
tree36a829c129a591e88a05138d3afb617170c6eef3
parent65d6dfa9443a05839eb9f48f9a067aa94db011dc
Fix octal IP address string parsing on OSX (dotnet/corefx#9477)

* Use inet_aton to parse IPv4 address strings, rather than getaddrinfo.  inet_aton handles octal correctly on OSX.

* Inline IpStringToAddressHelper into caller; since it now has only one caller, there's no point in having a separate helper.

* Remove OSX ActiveIssue

Commit migrated from https://github.com/dotnet/corefx/commit/ce090689f2fac33f7aa7bd1d37ca6d73b7dafe4d
src/libraries/Native/System.Native/pal_networking.cpp
src/libraries/System.Net.Primitives/tests/FunctionalTests/IPAddressParsing.cs