mirror of
https://github.com/clearml/dropbear
synced 2025-03-03 18:52:00 +00:00
Should be AF_UNSPEC not PF_UNSPEC
This commit is contained in:
parent
9754fdd995
commit
fee32054e6
2
netio.c
2
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user