[ovs-dev] [PATCH 04/14] socket-util: inet_aton for Windows.

Ben Pfaff blp at nicira.com
Thu Feb 20 21:39:41 UTC 2014

On Wed, Feb 19, 2014 at 03:36:15PM -0800, Gurucharan Shetty wrote:
> Windows does not have a inet_aton(). But does have a
> inet_pton().
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

inet_aton() isn't in POSIX, but inet_pton() is.  I think it's better if
we just change every use of inet_aton() to use inet_pton() instead.
(There's only a few.)  I think all it takes is changing the function
name and adding AF_INET at the beginning.

What do you think?

More information about the dev mailing list