summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--netio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netio.c b/netio.c
index 1564f2f..16a0d3a 100644
--- a/netio.c
+++ b/netio.c
@@ -165,7 +165,7 @@ struct dropbear_progress_connection *connect_remote(const char* remotehost, cons
memset(&hints, 0, sizeof(hints));
hints.ai_socktype = SOCK_STREAM;
- hints.ai_family = PF_UNSPEC;
+ hints.ai_family = AF_UNSPEC;
err = getaddrinfo(remotehost, remoteport, &hints, &c->res);
if (err) {