=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/channels.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/ssh/channels.c 1999/09/30 05:11:29 1.7 +++ src/usr.bin/ssh/channels.c 1999/09/30 08:03:39 1.8 @@ -16,7 +16,7 @@ */ #include "includes.h" -RCSID("$Id: channels.c,v 1.7 1999/09/30 05:11:29 deraadt Exp $"); +RCSID("$Id: channels.c,v 1.8 1999/09/30 08:03:39 deraadt Exp $"); #include "ssh.h" #include "packet.h" @@ -910,7 +910,7 @@ /* Check that an unprivileged user is not trying to forward a privileged port. */ - if (port < 1024 && !is_root) + if (port < IPPORT_RESERVED && !is_root) packet_disconnect("Requested forwarding of port %d but user is not root.", port);