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

Diff for /src/usr.bin/netstat/inet.c between version 1.118 and 1.119

version 1.118, 2011/07/05 05:14:41 version 1.119, 2011/11/01 00:00:01
Line 108 
Line 108 
  * -a (all) flag is specified.   * -a (all) flag is specified.
  */   */
 void  void
 protopr(u_long off, char *name, int af, u_long pcbaddr)  protopr(u_long off, char *name, int af, u_int tableid, u_long pcbaddr)
 {  {
         struct inpcbtable table;          struct inpcbtable table;
         struct inpcb *head, *next, *prev;          struct inpcb *head, *next, *prev;
Line 168 
Line 168 
                         }                          }
                         continue;                          continue;
                 }                  }
   
                   if (inpcb.inp_rtableid != tableid)
                           continue;
   
                 kread((u_long)inpcb.inp_socket, &sockb, sizeof (sockb));                  kread((u_long)inpcb.inp_socket, &sockb, sizeof (sockb));
                 if (istcp) {                  if (istcp) {

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119