mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Integrate unfix.org's IPv6 patches up to level 10, with rather a lot
of polishing to bring them to what I think should in principle be release quality. Unlike the unfix.org patches themselves, this checkin enables IPv6 by default; if you want to leave it out, you have to build with COMPAT=-DNO_IPV6. I have tested that this compiles on Visual C 7 (so the nightlies _should_ acquire IPv6 support without missing a beat), but since I don't have IPv6 set up myself I haven't actually tested that it _works_. It still seems to make correct IPv4 connections, but that's all I've been able to verify for myself. Further testing is needed. [originally from svn r5047] [this svn revision also touched putty-wishlist]
This commit is contained in:
11
putty.h
11
putty.h
@ -314,6 +314,16 @@ enum {
|
||||
FUNKY_SCO
|
||||
};
|
||||
|
||||
enum {
|
||||
/*
|
||||
* Network address types. Used for specifying choice of IPv4/v6
|
||||
* in config; also used in proxy.c to indicate whether a given
|
||||
* host name has already been resolved or will be resolved at
|
||||
* the proxy end.
|
||||
*/
|
||||
ADDRTYPE_UNSPEC, ADDRTYPE_IPV4, ADDRTYPE_IPV6, ADDRTYPE_NAME
|
||||
};
|
||||
|
||||
struct backend_tag {
|
||||
const char *(*init) (void *frontend_handle, void **backend_handle,
|
||||
Config *cfg,
|
||||
@ -375,6 +385,7 @@ struct config_tag {
|
||||
char host[512];
|
||||
int port;
|
||||
int protocol;
|
||||
int addressfamily;
|
||||
int close_on_exit;
|
||||
int warn_on_close;
|
||||
int ping_interval; /* in seconds */
|
||||
|
Reference in New Issue
Block a user