=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshconnect.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/ssh/sshconnect.c 1999/09/30 05:53:04 1.8 +++ src/usr.bin/ssh/sshconnect.c 1999/09/30 06:06:31 1.9 @@ -15,7 +15,7 @@ */ #include "includes.h" -RCSID("$Id: sshconnect.c,v 1.8 1999/09/30 05:53:04 deraadt Exp $"); +RCSID("$Id: sshconnect.c,v 1.9 1999/09/30 06:06:31 deraadt Exp $"); #include #include "xmalloc.h" @@ -229,7 +229,7 @@ /* Create a socket. */ sock = ssh_create_socket(original_real_uid, !anonymous && geteuid() == 0 && - port < 1024); + port < IPPORT_RESERVED); /* Connect to the host. We use the user's uid in the hope that it will help with the problems of tcp_wrappers showing the @@ -275,7 +275,7 @@ /* Create a socket for connecting. */ sock = ssh_create_socket(original_real_uid, !anonymous && geteuid() == 0 && - port < 1024); + port < IPPORT_RESERVED); /* Connect to the host. We use the user's uid in the hope that it will help with tcp_wrappers showing the remote uid as