socket-util: getaddrinfo return values for Windows.
authorGurucharan Shetty <gshetty@nicira.com>
Tue, 18 Feb 2014 17:26:27 +0000 (09:26 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 21 Feb 2014 15:58:18 +0000 (07:58 -0800)
commit99ad8ba8ce51120c880d724ac2a9581f8444c2ba
treec59dd9d557dd5711aea8d45dcbb22f5e134bb483
parentde8bd5976a149b9e6d892d792b2df6e029d5574d
socket-util: getaddrinfo return values for Windows.

Couple of return values need changes.
* EAI_NODATA is the same as EAI_NONAME. So we prevent duplicate cases.
* Windows does not have a EAI_SYSTEM.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/socket-util.c