]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
When checking if a connection comes from localhost, don't assume it's an IPv4
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 23 Jan 2005 14:31:08 +0000 (14:31 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 23 Jan 2005 14:31:08 +0000 (14:31 +0000)
commit15e7d71f3933148d9d74eb02371601bd36aa0972
tree1045fd11456a7b197717f710914a6b0525b61926
parent11bc6185ec4af518dc91600ba4aa85e94cc5f665
When checking if a connection comes from localhost, don't assume it's an IPv4
connection.  Instead, correctly check IPv4 and IPv6 connections, assume that
AF_LOCAL is always local, and anything else is always remote.

This makes trivial local-to-remote forwarding work on my system.

[originally from svn r5180]
unix/uxnet.c