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

Diff for /src/usr.bin/tftp/main.c between version 1.16 and 1.17

version 1.16, 2003/06/25 21:09:37 version 1.17, 2003/09/24 20:19:48
Line 340 
Line 340 
                 bcopy(hp->h_addr, (caddr_t)&peeraddr.sin_addr, hp->h_length);                  bcopy(hp->h_addr, (caddr_t)&peeraddr.sin_addr, hp->h_length);
                 peeraddr.sin_family = hp->h_addrtype;                  peeraddr.sin_family = hp->h_addrtype;
                 connected = 1;                  connected = 1;
                   port = sp->s_port;
                 strlcpy(hostname, hp->h_name, sizeof hostname);                  strlcpy(hostname, hp->h_name, sizeof hostname);
         }          }
         if (!connected) {          if (!connected) {

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17