diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-04-17 20:59:32 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-04-17 20:59:32 +0800 |
commit | fee32054e68324f8c2e13858f21e2ac406190734 (patch) | |
tree | 58955918522bf4c7d72bef6f5058562972be7cc3 /netio.c | |
parent | 9754fdd995d517353379bc82109c959c2bee8a46 (diff) |
Should be AF_UNSPEC not PF_UNSPEC
Diffstat (limited to 'netio.c')
-rw-r--r-- | netio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |