diff options
author | 1999-12-01 13:59:15 +0000 | |
---|---|---|
committer | 1999-12-01 13:59:15 +0000 | |
commit | be7aae463f02a146ba4345132403fddf8b6cf28d (patch) | |
tree | c0afc850faa69538ff90b6c6dacbfe3a0637362c /usr.bin/ssh/ssh.h | |
parent | noone needs to see this anymore (diff) | |
download | wireguard-openbsd-be7aae463f02a146ba4345132403fddf8b6cf28d.tar.xz wireguard-openbsd-be7aae463f02a146ba4345132403fddf8b6cf28d.zip |
ports are u_short
Diffstat (limited to 'usr.bin/ssh/ssh.h')
-rw-r--r-- | usr.bin/ssh/ssh.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/ssh.h b/usr.bin/ssh/ssh.h index 5f5b351728f..421be61e0fa 100644 --- a/usr.bin/ssh/ssh.h +++ b/usr.bin/ssh/ssh.h @@ -13,7 +13,7 @@ * */ -/* RCSID("$Id: ssh.h,v 1.26 1999/11/24 19:53:52 markus Exp $"); */ +/* RCSID("$Id: ssh.h,v 1.27 1999/12/01 13:59:15 markus Exp $"); */ #ifndef SSH_H #define SSH_H @@ -275,7 +275,7 @@ void record_logout(int pid, const char *ttyname); */ int ssh_connect(const char *host, struct sockaddr_in * hostaddr, - int port, int connection_attempts, + u_short port, int connection_attempts, int anonymous, uid_t original_real_uid, const char *proxy_command); @@ -560,8 +560,8 @@ char *channel_open_message(void); * error. */ void -channel_request_local_forwarding(int port, const char *host, - int remote_port); +channel_request_local_forwarding(u_short port, const char *host, + u_short remote_port); /* * Initiate forwarding of connections to port "port" on remote host through @@ -570,8 +570,8 @@ channel_request_local_forwarding(int port, const char *host, * permitted. */ void -channel_request_remote_forwarding(int port, const char *host, - int remote_port); +channel_request_remote_forwarding(u_short port, const char *host, + u_short remote_port); /* * Permits opening to any host/port in SSH_MSG_PORT_OPEN. This is usually |