summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 02:05:26 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 02:05:26 +0000
commit6d5a72bc1d98a42ba42f082e50a22e911c1d82d3 (patch)
tree1bf23174bdb6fc71e2846dda0eca195a418484e7 /readconf.c
parent2ee26b431f98cf1dc0e4fb9809ad1e0c879b8c08 (diff)
parent58657d96514cd6f16d82add8d6f4adbb36765758 (diff)
Debian release 3.5p1-1.
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 399855bd4..097d4082d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -204,7 +204,7 @@ add_local_forward(Options *options, u_short port, const char *host,
204 u_short host_port) 204 u_short host_port)
205{ 205{
206 Forward *fwd; 206 Forward *fwd;
207#ifndef HAVE_CYGWIN 207#ifndef NO_IPPORT_RESERVED_CONCEPT
208 extern uid_t original_real_uid; 208 extern uid_t original_real_uid;
209 if (port < IPPORT_RESERVED && original_real_uid != 0) 209 if (port < IPPORT_RESERVED && original_real_uid != 0)
210 fatal("Privileged ports can only be forwarded by root."); 210 fatal("Privileged ports can only be forwarded by root.");