]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Use the new host_str* functions to improve IPv6 literal support.
authorSimon Tatham <anakin@pobox.com>
Sat, 25 Jan 2014 15:58:54 +0000 (15:58 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 25 Jan 2014 15:58:54 +0000 (15:58 +0000)
commit8da4fa506389910599c59b87ba1b799efd6d3ae1
tree07dd0ae665fa7522bc343d8e07af1c82a14cf700
parent0348f570771a0412609de947778cad9d5b3dca93
Use the new host_str* functions to improve IPv6 literal support.

I've gone through everywhere we handle host names / addresses (on
command lines, in PuTTY config, in port forwarding, in X display
names, in host key storage...) and tried to make them handle IPv6
literals sensibly, by using the host_str* functions I introduced in my
previous commit. Generally it's now OK to use a bracketed IPv6 literal
anywhere a hostname might have been valid; in a few cases where no
ambiguity exists (e.g. no :port suffix is permitted anyway)
unbracketed IPv6 literals are also acceptable.

[originally from svn r10120]
14 files changed:
cmdline.c
config.c
pscp.c
raw.c
rlogin.c
ssh.c
telnet.c
unix/uxnet.c
unix/uxplink.c
unix/uxputty.c
windows/window.c
windows/winnet.c
windows/winplink.c
x11fwd.c