Fix for portfwd-addr-family: on Unix, when a tunnel is specified as "Auto"
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 20 Aug 2008 22:21:04 +0000 (22:21 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 20 Aug 2008 22:21:04 +0000 (22:21 +0000)
commit4efd5997084ad8fbac105b01da833846f57f8e80
tree73c291c4bf87ef77ed7ef375864796d5683407a4
parent1ec39db1a3abacdffebec535b86b4475301470cf
Fix for portfwd-addr-family: on Unix, when a tunnel is specified as "Auto"
(rather than IPv4 or IPv6-only; this is the default), try to open up listening
sockets on both address families, rather than (unhelpfully) just IPv6. (And
don't open one if the other can't be bound, in a nod to CVE-2008-1483.)
Based on a patch from Ben A L Jemmett.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8150 cda61777-01e9-0310-a592-d414129be87e
unix/uxnet.c