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

Diff for /src/usr.bin/netstat/main.c between version 1.84 and 1.85

version 1.84, 2010/06/30 03:32:55 version 1.85, 2010/07/14 23:44:41
Line 420 
Line 420 
                                         break;                                          break;
                         if (tp->pr_name == 0)                          if (tp->pr_name == 0)
                                 continue;                                  continue;
                         printproto(tp, p->p_name, af);                          printproto(tp, p->p_name, AF_INET);
                 }                  }
                 endprotoent();                  endprotoent();
         }          }
Line 430 
Line 430 
         }          }
         if (af == AF_INET6 || af == AF_UNSPEC)          if (af == AF_INET6 || af == AF_UNSPEC)
                 for (tp = ip6protox; tp->pr_name; tp++)                  for (tp = ip6protox; tp->pr_name; tp++)
                         printproto(tp, tp->pr_name, af);                          printproto(tp, tp->pr_name, AF_INET6);
         if ((af == AF_UNIX || af == AF_UNSPEC) && !sflag)          if ((af == AF_UNIX || af == AF_UNSPEC) && !sflag)
                 unixpr(nl[N_UNIXSW].n_value);                  unixpr(nl[N_UNIXSW].n_value);
         if (af == AF_APPLETALK || af == AF_UNSPEC)          if (af == AF_APPLETALK || af == AF_UNSPEC)

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85