This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Stolen from ftp-proxy */ | |
| int | |
| server_lookup(struct sockaddr *client, struct sockaddr *proxy, | |
| struct sockaddr *server) | |
| { | |
| if (client->sa_family == AF_INET) | |
| return (server_lookup4(satosin(client), satosin(proxy), | |
| satosin(server))); | |
| if (client->sa_family == AF_INET6) |