Return to canohost.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.63, 2008/06/12 00:03:49 | version 1.64, 2009/02/12 03:00:56 | ||
---|---|---|---|
|
|
||
/* Returns the local/remote port for the socket. */ | /* Returns the local/remote port for the socket. */ | ||
static int | int | ||
get_sock_port(int sock, int local) | get_sock_port(int sock, int local) | ||
{ | { | ||
struct sockaddr_storage from; | struct sockaddr_storage from; |