Fix to correctly identify remote IP address and host name when using
authorDavid Dykstra <dwd@samba.org>
Thu, 1 Aug 2002 19:17:00 +0000 (19:17 +0000)
committerDavid Dykstra <dwd@samba.org>
Thu, 1 Aug 2002 19:17:00 +0000 (19:17 +0000)
commit09021eabb53aec92237116d57d3e2b4246ef8f86
tree6dc5be921e9c2b0b2928907de5f18dfd9b597cdf
parent8d69d57113c7dccefa50638f3cb91d6a6a208e5f
Fix to correctly identify remote IP address and host name when using
-e ssh and :: together.  Uses $SSH_CLIENT to locate the IP address
(was attempting to before but it didn't always work) and then uses
inet_pton() on that and getnameinfo() to find the name.
clientname.c
clientserver.c