mirror of git://anongit.mindrot.org/openssh.git
- markus@cvs.openbsd.org 2001/10/08 16:15:47
[sshconnect.c] use correct family for -b option
This commit is contained in:
parent
d3c04b90e4
commit
7ea6f204b6
|
@ -28,6 +28,9 @@
|
||||||
- markus@cvs.openbsd.org 2001/10/08 11:48:57
|
- markus@cvs.openbsd.org 2001/10/08 11:48:57
|
||||||
[channels.c]
|
[channels.c]
|
||||||
better debug
|
better debug
|
||||||
|
- markus@cvs.openbsd.org 2001/10/08 16:15:47
|
||||||
|
[sshconnect.c]
|
||||||
|
use correct family for -b option
|
||||||
|
|
||||||
20011007
|
20011007
|
||||||
- (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
|
- (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
|
||||||
|
@ -6673,4 +6676,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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>
|
#include <openssl/bn.h>
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ ssh_create_socket(struct passwd *pw, int privileged, int family)
|
||||||
return sock;
|
return sock;
|
||||||
|
|
||||||
memset(&hints, 0, sizeof(hints));
|
memset(&hints, 0, sizeof(hints));
|
||||||
hints.ai_family = IPv4or6;
|
hints.ai_family = family;
|
||||||
hints.ai_socktype = SOCK_STREAM;
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
hints.ai_flags = AI_PASSIVE;
|
hints.ai_flags = AI_PASSIVE;
|
||||||
gaierr = getaddrinfo(options.bind_address, "0", &hints, &res);
|
gaierr = getaddrinfo(options.bind_address, "0", &hints, &res);
|
||||||
|
|
Loading…
Reference in New Issue