1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Make libssh.so useable (undefined reference to IPv4or6).

Reviewed by:	des, markm
Approved by:	markm
This commit is contained in:
Ruslan Ermilov 2002-01-23 15:06:47 +00:00
parent 0063afffd5
commit fd4ca9e02d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89703
4 changed files with 3 additions and 5 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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

View File

@ -68,8 +68,6 @@ __FBSDID("$FreeBSD$");
#include "log.h"
#include "pam_ssh.h"
int IPv4or6 = AF_UNSPEC;
/*
* Generic cleanup function for SSH "Key" type.
*/