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

Diff for /src/usr.bin/ssh/canohost.c between version 1.23 and 1.24

version 1.23, 2001/02/10 01:33:32 version 1.24, 2001/04/05 15:48:19
Line 229 
Line 229 
         return canonical_host_ip;          return canonical_host_ip;
 }  }
   
   const char *
   get_remote_name_or_ip(u_int utmp_len, int reverse_mapping_check)
   {
           static const char *remote = "";
           if (utmp_len > 0)
                   remote = get_canonical_hostname(reverse_mapping_check);
           if (utmp_len == 0 || strlen(remote) > utmp_len)
                   remote = get_remote_ipaddr();
           return remote;
   }
   
 /* Returns the local/remote port for the socket. */  /* Returns the local/remote port for the socket. */
   
 int  int

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24