summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index 80d99fef1..bae06be12 100644
--- a/readconf.c
+++ b/readconf.c
@@ -199,7 +199,7 @@ add_local_forward(Options *options, u_short port, const char *host,
199 u_short host_port) 199 u_short host_port)
200{ 200{
201 Forward *fwd; 201 Forward *fwd;
202#ifndef HAVE_CYGWIN 202#ifndef NO_IPPORT_RESERVED_CONCEPT
203 extern uid_t original_real_uid; 203 extern uid_t original_real_uid;
204 if (port < IPPORT_RESERVED && original_real_uid != 0) 204 if (port < IPPORT_RESERVED && original_real_uid != 0)
205 fatal("Privileged ports can only be forwarded by root."); 205 fatal("Privileged ports can only be forwarded by root.");