diff options
author | ru <ru@FreeBSD.org> | 2002-01-23 15:06:47 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-01-23 15:06:47 +0000 |
commit | 5307ecb83c1a3c3c2de99358a7b69b67597ed1be (patch) | |
tree | 34c52b8a043938c4ef8f074722e7e5edf4aef794 /crypto/openssh | |
parent | 1c07280aca03e7eb979a1ecaa5a15a91da999b6b (diff) | |
download | FreeBSD-src-5307ecb83c1a3c3c2de99358a7b69b67597ed1be.zip FreeBSD-src-5307ecb83c1a3c3c2de99358a7b69b67597ed1be.tar.gz |
Make libssh.so useable (undefined reference to IPv4or6).
Reviewed by: des, markm
Approved by: markm
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/channels.c | 2 | ||||
-rw-r--r-- | crypto/openssh/ssh.c | 2 | ||||
-rw-r--r-- | crypto/openssh/sshd.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssh/channels.c b/crypto/openssh/channels.c index 38bec00..d39040b 100644 --- a/crypto/openssh/channels.c +++ b/crypto/openssh/channels.c @@ -133,7 +133,7 @@ static int all_opens_permitted = 0; static int have_hostname_in_open = 0; /* AF_UNSPEC or AF_INET or AF_INET6 */ -extern int IPv4or6; +int IPv4or6 = AF_UNSPEC; void port_open_helper(Channel *c, char *rtype); diff --git a/crypto/openssh/ssh.c b/crypto/openssh/ssh.c index 4b48a7c..0ed1ec1 100644 --- a/crypto/openssh/ssh.c +++ b/crypto/openssh/ssh.c @@ -74,7 +74,7 @@ extern char *__progname; /* Flag indicating whether IPv4 or IPv6. This can be set on the command line. Default value is AF_UNSPEC means both IPv4 and IPv6. */ -int IPv4or6 = AF_UNSPEC; +extern int IPv4or6; /* Flag indicating whether debug mode is on. This can be set on the command line. */ int debug_flag = 0; diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c index 933a2b4..103d458 100644 --- a/crypto/openssh/sshd.c +++ b/crypto/openssh/sshd.c @@ -103,7 +103,7 @@ char *config_file_name = _PATH_SERVER_CONFIG_FILE; * Flag indicating whether IPv4 or IPv6. This can be set on the command line. * Default value is AF_UNSPEC means both IPv4 and IPv6. */ -int IPv4or6 = AF_UNSPEC; +extern int IPv4or6; /* * Debug mode flag. This can be set on the command line. If debug |