- (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>
diff --git a/channels.c b/channels.c
index c77f6b9..4ac48a7 100644
--- a/channels.c
+++ b/channels.c
@@ -1567,6 +1567,7 @@
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 @@
if (port < IPPORT_RESERVED && !is_root)
packet_disconnect("Requested forwarding of port %d but user is not root.",
port);
+#endif
/*
* Initiate forwarding,
*/