[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.44 and 1.45

version 1.44, 2005/06/17 02:44:32 version 1.45, 2005/10/03 07:44:42
Line 43 
Line 43 
                 cleanup_exit(255);                  cleanup_exit(255);
         }          }
   
         if (from.ss_family == AF_INET)  
                 check_ip_options(sock, ntop);  
   
         if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop),          if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop),
             NULL, 0, NI_NUMERICHOST) != 0)              NULL, 0, NI_NUMERICHOST) != 0)
                 fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed");                  fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed");
   
           if (from.ss_family == AF_INET)
                   check_ip_options(sock, ntop);
   
         if (!use_dns)          if (!use_dns)
                 return xstrdup(ntop);                  return xstrdup(ntop);

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45