1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 10:07:39 -05:00

Support for falling back through the list of addresses returned from

a DNS lookup, whether they're IPv4, v6 or a mixture of both.

[originally from svn r5119]
[this svn revision also touched putty-wishlist]
This commit is contained in:
Simon Tatham
2005-01-16 14:29:34 +00:00
parent 0f754aac82
commit f70efc5cc6
10 changed files with 648 additions and 352 deletions

View File

@ -178,6 +178,12 @@ static char *x11_verify(unsigned long peer_ip, int peer_port,
return NULL;
}
static void x11_log(Plug p, int type, SockAddr addr, int port,
const char *error_msg, int error_code)
{
/* We have no interface to the logging module here, so we drop these. */
}
static int x11_closing(Plug plug, const char *error_msg, int error_code,
int calling_back)
{
@ -259,6 +265,7 @@ const char *x11_init(Socket * s, char *display, void *c, void *auth,
const char *peeraddr, int peerport, const Config *cfg)
{
static const struct plug_function_table fn_table = {
x11_log,
x11_closing,
x11_receive,
x11_sent,