]> andersk Git - openssh.git/blobdiff - serverloop.c
- (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms
[openssh.git] / serverloop.c
index 1349213554ddb1c9651faa626b3328003330d6a6..912f625015d6b428a4d9cb73ca6cbf3791724a46 100644 (file)
@@ -972,8 +972,11 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt)
 
                /* check permissions */
                if (!options.allow_tcp_forwarding ||
-                   no_port_forwarding_flag ||
-                   (listen_port < IPPORT_RESERVED && pw->pw_uid != 0)) {
+                   no_port_forwarding_flag
+#ifndef NO_IPPORT_RESERVED_CONCEPT
+                   || (listen_port < IPPORT_RESERVED && pw->pw_uid != 0)
+#endif
+                  ) {
                        success = 0;
                        packet_send_debug("Server has disabled port forwarding.");
                } else {
This page took 0.025 seconds and 4 git commands to generate.