[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.10 and 1.11

version 1.10, 2000/01/04 00:07:58 version 1.11, 2000/01/04 13:41:32
Line 70 
Line 70 
                  */                   */
                 memset(&hints, 0, sizeof(hints));                  memset(&hints, 0, sizeof(hints));
                 hints.ai_family = from.ss_family;                  hints.ai_family = from.ss_family;
                   hints.ai_socktype = SOCK_STREAM;
                 if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {                  if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
                         log("reverse mapping checking getaddrinfo for %.700s failed - POSSIBLE BREAKIN ATTEMPT!", name);                          log("reverse mapping checking getaddrinfo for %.700s failed - POSSIBLE BREAKIN ATTEMPT!", name);
                         strlcpy(name, ntop, sizeof name);                          strlcpy(name, ntop, sizeof name);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11