Skip to content
Snippets Groups Projects
Commit fee32054 authored by Matt Johnston's avatar Matt Johnston
Browse files

Should be AF_UNSPEC not PF_UNSPEC

parent 9754fdd9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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) {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment