commit - bccb4ec2e9c0dd06dedd91623b6712162c4ec0bc
commit + fb0cb7081e7276c006444afb9f9decbab6bedaff
blob - 5adfc41c4662e8de75f3b26a7e2597863b065283
blob + 920aff4245e78df0835a5a015cdb9431a5643348
--- gotwebd/parse.y
+++ gotwebd/parse.y
return (cnt);
memset(&hints, 0, sizeof(hints));
- hints.ai_family = PF_UNSPEC;
- hints.ai_socktype = SOCK_DGRAM; /* DUMMY */
+ hints.ai_family = AF_UNSPEC;
+ hints.ai_socktype = SOCK_STREAM; /* DUMMY */
hints.ai_flags = AI_ADDRCONFIG;
error = getaddrinfo(s, NULL, &hints, &res0);
if (error == EAI_AGAIN || error == EAI_NODATA || error == EAI_NONAME)