[BACK]Return to sshconnect.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.8 and 1.9

version 1.8, 1999/09/30 05:53:04 version 1.9, 1999/09/30 06:06:31
Line 229 
Line 229 
           /* Create a socket. */            /* Create a socket. */
           sock = ssh_create_socket(original_real_uid,            sock = ssh_create_socket(original_real_uid,
                                    !anonymous && geteuid() == 0 &&                                     !anonymous && geteuid() == 0 &&
                                      port < 1024);                                       port < IPPORT_RESERVED);
   
           /* Connect to the host.  We use the user's uid in the hope that            /* 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               it will help with the problems of tcp_wrappers showing the
Line 275 
Line 275 
               /* Create a socket for connecting. */                /* Create a socket for connecting. */
               sock = ssh_create_socket(original_real_uid,                sock = ssh_create_socket(original_real_uid,
                                        !anonymous && geteuid() == 0 &&                                         !anonymous && geteuid() == 0 &&
                                          port < 1024);                                           port < IPPORT_RESERVED);
   
               /* Connect to the host.  We use the user's uid in the hope that                /* 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                   it will help with tcp_wrappers showing the remote uid as

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9