summaryrefslogtreecommitdiffhomepage
path: root/netio.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-04-17 20:59:32 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-04-17 20:59:32 +0800
commitfee32054e68324f8c2e13858f21e2ac406190734 (patch)
tree58955918522bf4c7d72bef6f5058562972be7cc3 /netio.c
parent9754fdd995d517353379bc82109c959c2bee8a46 (diff)
Should be AF_UNSPEC not PF_UNSPEC
Diffstat (limited to 'netio.c')
-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) {