commit | 99a4e14fe0615c0f8a404aec0db42feb98451eb9 | [log] [tgz] |
---|---|---|
author | Ben Lindstrom <mouring@eviladmin.org> | Tue Jul 09 14:06:40 2002 +0000 |
committer | Ben Lindstrom <mouring@eviladmin.org> | Tue Jul 09 14:06:40 2002 +0000 |
tree | a69e55b6ceb1aa0ad026ba8c952ba5851cc1431a | |
parent | cbb9066d2d697e51f5e6df6681827f17756d154a [diff] [blame] |
- (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms lacking that concept can share it. Patch by vinschen@redhat.com
diff --git a/readconf.c b/readconf.c index 80d99fe..bae06be 100644 --- a/readconf.c +++ b/readconf.c
@@ -199,7 +199,7 @@ 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.");