[sshconnect.c]
     use correct family for -b option
This commit is contained in:
Damien Miller 2001-10-10 15:04:41 +10:00
parent d3c04b90e4
commit 7ea6f204b6
2 changed files with 6 additions and 3 deletions

View File

@ -28,6 +28,9 @@
- markus@cvs.openbsd.org 2001/10/08 11:48:57
[channels.c]
better debug
- markus@cvs.openbsd.org 2001/10/08 16:15:47
[sshconnect.c]
use correct family for -b option
20011007
- (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
@ -6673,4 +6676,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1593 2001/10/10 05:04:20 djm Exp $
$Id: ChangeLog,v 1.1594 2001/10/10 05:04:41 djm Exp $

View File

@ -13,7 +13,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: sshconnect.c,v 1.113 2001/10/06 11:18:19 markus Exp $");
RCSID("$OpenBSD: sshconnect.c,v 1.114 2001/10/08 16:15:47 markus Exp $");
#include <openssl/bn.h>
@ -204,7 +204,7 @@ ssh_create_socket(struct passwd *pw, int privileged, int family)
return sock;
memset(&hints, 0, sizeof(hints));
hints.ai_family = IPv4or6;
hints.ai_family = family;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
gaierr = getaddrinfo(options.bind_address, "0", &hints, &res);