commit 68b01264fd70ed0a459c31d2cd4d266412383189
parent 22d7dcc55cdfbd225998752c9db88609139409df
Author: sin <sin@2f30.org>
Date: Mon, 4 Jun 2012 14:48:50 +0100
sscall: Replace AF_UNSPEC with AF_INET
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sscall.c b/sscall.c
@@ -262,7 +262,7 @@ main(int argc, char *argv[])
errx(1, "failed to bind socket");
memset(&srv_hints, 0, sizeof(srv_hints));
- srv_hints.ai_family = AF_UNSPEC;
+ srv_hints.ai_family = AF_INET;
srv_hints.ai_socktype = SOCK_DGRAM;
srv_hints.ai_flags = AI_PASSIVE;