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

Diff for /src/usr.bin/netstat/if.c between version 1.79 and 1.80

version 1.79, 2022/08/26 18:37:44 version 1.80, 2022/09/08 13:18:47
Line 120 
Line 120 
                     "Ipkts", if_errs->iname,                      "Ipkts", if_errs->iname,
                     "Opkts", if_errs->oname, "Colls");                      "Opkts", if_errs->oname, "Colls");
         }          }
         if (tflag)  
                 printf(" %s", "Time");  
         putchar('\n');          putchar('\n');
   
         lim = buf + len;          lim = buf + len;
Line 165 
Line 163 
                                     ifd->ifi_iqdrops);                                      ifd->ifi_iqdrops);
                                 total += if_errs->count(ifd->ifi_oerrors,                                  total += if_errs->count(ifd->ifi_oerrors,
                                     ifd->ifi_oqdrops);                                      ifd->ifi_oqdrops);
                                 if (tflag)  
                                         total += 0; // XXX ifnet.if_timer;  
                                 if (total == 0)                                  if (total == 0)
                                         continue;                                          continue;
                         }                          }
Line 300 
Line 296 
                     ifd->ifi_opackets,                      ifd->ifi_opackets,
                     if_errs->count(ifd->ifi_oerrors, ifd->ifi_oqdrops),                      if_errs->count(ifd->ifi_oerrors, ifd->ifi_oqdrops),
                     ifd->ifi_collisions);                      ifd->ifi_collisions);
         if (tflag)  
                 printf(" %4d", 0 /* XXX ifnet.if_timer */);  
         putchar('\n');          putchar('\n');
 }  }
   

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80