summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-09 14:06:40 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-09 14:06:40 +0000
commit99a4e14fe0615c0f8a404aec0db42feb98451eb9 (patch)
treea69e55b6ceb1aa0ad026ba8c952ba5851cc1431a /readconf.c
parentcbb9066d2d697e51f5e6df6681827f17756d154a (diff)
- (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms
lacking that concept can share it. Patch by vinschen@redhat.com
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 80d99fef..bae06be1 100644
--- a/readconf.c
+++ b/readconf.c
@@ -199,7 +199,7 @@ add_local_forward(Options *options, u_short port, const char *host,
u_short host_port)
{
Forward *fwd;
-#ifndef HAVE_CYGWIN
+#ifndef NO_IPPORT_RESERVED_CONCEPT
extern uid_t original_real_uid;
if (port < IPPORT_RESERVED && original_real_uid != 0)
fatal("Privileged ports can only be forwarded by root.");