summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 520491392..3fbe88d56 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -36,7 +36,11 @@ RCSID("$OpenBSD: ssh-keyscan.c,v 1.30 2001/10/08 19:05:05 markus Exp $");
36 36
37/* Flag indicating whether IPv4 or IPv6. This can be set on the command line. 37/* Flag indicating whether IPv4 or IPv6. This can be set on the command line.
38 Default value is AF_UNSPEC means both IPv4 and IPv6. */ 38 Default value is AF_UNSPEC means both IPv4 and IPv6. */
39#ifdef IPV4_DEFAULT
40int IPv4or6 = AF_INET;
41#else
39int IPv4or6 = AF_UNSPEC; 42int IPv4or6 = AF_UNSPEC;
43#endif
40 44
41int ssh_port = SSH_DEFAULT_PORT; 45int ssh_port = SSH_DEFAULT_PORT;
42 46