hfingerd

hhvn.uk:79
Log | Files | Refs | LICENSE

commit 0ef5605336ef24fd15097a5936513c46c219d645
parent 3d59931285af6c59f21327a735928fa6d58a6533
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 16 Jun 2021 23:12:15 +0100

main.c: use AF_UNSPEC

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -182,7 +182,7 @@ main(int argc, char *argv[]) { usage(); memset(&hints, 0, sizeof(hints)); - hints.ai_family = AF_INET; + hints.ai_family = AF_UNSPEC; hints.ai_flags = AI_PASSIVE; hints.ai_socktype = SOCK_STREAM; sock = getsock(&hints, host, port);