- (djm) Fix IPv4 default in ssh-keyscan. Spotted by Dan Astoorian

<djast@cs.toronto.edu> Fix from markus@
This commit is contained in:
Damien Miller 2001-11-15 08:40:45 +11:00
parent 353f608740
commit efdc1f179d
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
20011115
- (djm) Fix IPv4 default in ssh-keyscan. Spotted by Dan Astoorian
<djast@cs.toronto.edu> Fix from markus@
20011113
- (djm) Fix early (and double) free of remote user when using Kerberos.
Patch from Simon Wilkinson <simon@sxw.org.uk>
@ -6907,4 +6911,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1663 2001/11/13 13:05:57 djm Exp $
$Id: ChangeLog,v 1.1664 2001/11/14 21:40:45 djm Exp $

View File

@ -36,7 +36,11 @@ RCSID("$OpenBSD: ssh-keyscan.c,v 1.30 2001/10/08 19:05:05 markus Exp $");
/* Flag indicating whether IPv4 or IPv6. This can be set on the command line.
Default value is AF_UNSPEC means both IPv4 and IPv6. */
#ifdef IPV4_DEFAULT
int IPv4or6 = AF_INET;
#else
int IPv4or6 = AF_UNSPEC;
#endif
int ssh_port = SSH_DEFAULT_PORT;