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

Diff for /src/usr.bin/netstat/show.c between version 1.54 and 1.55

version 1.54, 2018/06/04 19:17:37 version 1.55, 2018/08/31 15:18:02
Line 490 
Line 490 
         struct in_addr   ina;          struct in_addr   ina;
         struct hostent  *hp;          struct hostent  *hp;
   
         if (in == INADDR_ANY)  
                 cp = "default";  
         if (!cp && !nflag) {          if (!cp && !nflag) {
                 if ((hp = gethostbyaddr((char *)&in,                  if ((hp = gethostbyaddr((char *)&in,
                     sizeof(in), AF_INET)) != NULL) {                      sizeof(in), AF_INET)) != NULL) {

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55