diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
commit | a04a10f8915401e0ac20dce0ade6c5b6e1bb13da (patch) | |
tree | 772b9de8852fb4c32957c00639a4fd5460f8a62b /crypto/openssh/canohost.c | |
parent | a8f6863aa612ce6941e7bad9cf809a8d0608a7ca (diff) | |
download | src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.tar.gz src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.zip |
Initial import of OpenSSH v2.1.vendor/openssh/2.1
Notes
Notes:
svn path=/vendor-crypto/openssh/dist/; revision=60573
svn path=/vendor-crypto/openssh/2.1/; revision=60575; tag=vendor/openssh/2.1
Diffstat (limited to 'crypto/openssh/canohost.c')
-rw-r--r-- | crypto/openssh/canohost.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crypto/openssh/canohost.c b/crypto/openssh/canohost.c index fcf743cd417b..a73f8d0ecf2d 100644 --- a/crypto/openssh/canohost.c +++ b/crypto/openssh/canohost.c @@ -1,20 +1,20 @@ /* - * + * * canohost.c - * + * * Author: Tatu Ylonen <ylo@cs.hut.fi> - * + * * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved - * + * * Created: Sun Jul 2 17:52:22 1995 ylo - * + * * Functions for returning the canonical host name of the remote site. - * + * */ #include "includes.h" -RCSID("$Id: canohost.c,v 1.11 2000/01/04 13:41:32 markus Exp $"); +RCSID("$Id: canohost.c,v 1.12 2000/04/14 10:30:30 markus Exp $"); #include "packet.h" #include "xmalloc.h" @@ -241,7 +241,7 @@ get_sock_port(int sock, int local) /* Returns remote/local port number for the current connection. */ -int +int get_port(int local) { /* @@ -255,13 +255,13 @@ get_port(int local) return get_sock_port(packet_get_connection_in(), local); } -int +int get_peer_port(int sock) { return get_sock_port(sock, 0); } -int +int get_remote_port() { return get_port(0); |