[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.42 and 1.43

version 1.42, 2000/01/03 04:27:57 version 1.43, 2000/01/05 00:07:08
Line 427 
Line 427 
         for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++)          for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++)
                 if (icmpstat.icps_outhist[i] != 0) {                  if (icmpstat.icps_outhist[i] != 0) {
                         if (first) {                          if (first) {
                                 printf("\tOutput histogram:\n");                                  printf("\tOutput packet histogram:\n");
                                 first = 0;                                  first = 0;
                         }                          }
                         printf("\t\t%s: %lu\n", icmpnames[i],                          printf("\t\t%s: %lu\n", icmpnames[i],
Line 440 
Line 440 
         for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++)          for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++)
                 if (icmpstat.icps_inhist[i] != 0) {                  if (icmpstat.icps_inhist[i] != 0) {
                         if (first) {                          if (first) {
                                 printf("\tInput histogram:\n");                                  printf("\tInput packet histogram:\n");
                                 first = 0;                                  first = 0;
                         }                          }
                         printf("\t\t%s: %lu\n", icmpnames[i],                          printf("\t\t%s: %lu\n", icmpnames[i],

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43