Return to channels.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.7, 1999/09/30 05:11:29 | version 1.8, 1999/09/30 08:03:39 | ||
---|---|---|---|
|
|
||
/* Check that an unprivileged user is not trying to forward a privileged | /* Check that an unprivileged user is not trying to forward a privileged | ||
port. */ | port. */ | ||
if (port < 1024 && !is_root) | if (port < IPPORT_RESERVED && !is_root) | ||
packet_disconnect("Requested forwarding of port %d but user is not root.", | packet_disconnect("Requested forwarding of port %d but user is not root.", | ||
port); | port); | ||