Allow remote-to-local forwardings to use IPv6.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Sep 2012 21:50:47 +0000 (21:50 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Sep 2012 21:50:47 +0000 (21:50 +0000)
commitb1b5c358a3cfeb765ee04fbda7c40741c7fa7964
treebbe29ff95d294abc82850519cab0fd96282250b6
parentd719927eb175a73b13a7015498e9757010344bf5
Allow remote-to-local forwardings to use IPv6.

RFC 4245 section 7.1 specifies the meaning of the "address to bind"
parameter in a "tcpip-forward" request.  "0.0.0.0" and "127.0.0.1" are
specified to be all interfaces and the loopback interface respectively
in IPv4, while "" and "localhost" are the address-family-agnostic
equivalents.  Switch PuTTY to using the latter, since it doesn't seem
right to force IPv4.

There's an argument that PuTTY should provide a means of configuring the
address family used for remote forwardings like it does for local ones.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9668 cda61777-01e9-0310-a592-d414129be87e
ssh.c