[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.70 and 1.71

version 1.70, 2003/10/25 19:33:05 version 1.71, 2003/10/31 09:00:32
Line 854 
Line 854 
 #define p2(f, m) if (carpstat.f || sflag <= 1) \  #define p2(f, m) if (carpstat.f || sflag <= 1) \
         printf(m, carpstat.f)          printf(m, carpstat.f)
   
         p(carps_ipackets, "\t%u packet%s received\n");          p(carps_ipackets, "\t%u packet%s received (IPv4)\n");
           p(carps_ipackets6, "\t%u packet%s received (IPv6)\n");
         p(carps_hdrops, "\t\t%u packet%s shorter than header\n");          p(carps_hdrops, "\t\t%u packet%s shorter than header\n");
         p(carps_badsum, "\t\t%u discarded for bad checksum%s\n");          p(carps_badsum, "\t\t%u discarded for bad checksum%s\n");
         p(carps_badver, "\t\t%u discarded packet%s with a bad version\n");          p(carps_badver, "\t\t%u discarded packet%s with a bad version\n");
Line 862 
Line 863 
         p2(carps_badauth, "\t\t%u discarded for bad authentication\n");          p2(carps_badauth, "\t\t%u discarded for bad authentication\n");
         p2(carps_badvhid, "\t\t%u discarded for bad vhid\n");          p2(carps_badvhid, "\t\t%u discarded for bad vhid\n");
         p2(carps_badaddrs, "\t\t%u discarded because of a bad address list\n");          p2(carps_badaddrs, "\t\t%u discarded because of a bad address list\n");
         p(carps_opackets, "\t%u packet%s sent\n");          p(carps_opackets, "\t%u packet%s sent (IPv4)\n");
           p(carps_opackets6, "\t%u packet%s sent (IPv6)\n");
 #if notyet  #if notyet
         p(carps_ostates, "\t\t%s state update%s sent\n");          p(carps_ostates, "\t\t%s state update%s sent\n");
 #endif  #endif

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71