commit 92df65797b33ec41e680fc12acb30f5f79938c66
parent 2d47e7c4377dd55bf1e8a4523fb8b287e0a02cca
Author: sin <sin@2f30.org>
Date: Mon, 4 Jun 2012 11:42:36 +0100
sscall: Use AF_INET instead of AF_UNSPEC
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sscall.c b/sscall.c
@@ -233,7 +233,7 @@ main(int argc, char *argv[])
default_driver);
memset(&cli_hints, 0, sizeof(cli_hints));
- cli_hints.ai_family = AF_UNSPEC;
+ cli_hints.ai_family = AF_INET;
cli_hints.ai_socktype = SOCK_DGRAM;
rv = getaddrinfo(argv[0], argv[1], &cli_hints, &cli_servinfo);