diff options
author | Damien Miller <djm@mindrot.org> | 2000-09-05 16:13:06 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-09-05 16:13:06 +1100 |
commit | bac2d8aa5e642a70045e713853b13d020b9c5d57 (patch) | |
tree | 98ddc81efce2273b3dfaff03b51242c988d30abf /channels.c | |
parent | 676092fad0b6edca8f1fe731d7c3a000465a9bef (diff) | |
download | openssh-git-bac2d8aa5e642a70045e713853b13d020b9c5d57.tar.gz |
- (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1567,6 +1567,7 @@ channel_input_port_forward_request(int is_root, int gateway_ports) hostname = packet_get_string(NULL); host_port = packet_get_int(); +#ifndef HAVE_CYGWIN /* * Check that an unprivileged user is not trying to forward a * privileged port. @@ -1574,6 +1575,7 @@ channel_input_port_forward_request(int is_root, int gateway_ports) if (port < IPPORT_RESERVED && !is_root) packet_disconnect("Requested forwarding of port %d but user is not root.", port); +#endif /* * Initiate forwarding, */ |