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

Diff for /src/usr.bin/netstat/inet6.c between version 1.2 and 1.3

version 1.2, 1999/12/30 20:31:31 version 1.3, 2000/01/05 00:07:08
Line 481 
Line 481 
         for (first = 1, i = 0; i < 256; i++)          for (first = 1, i = 0; i < 256; i++)
                 if (ip6stat.ip6s_nxthist[i] != 0) {                  if (ip6stat.ip6s_nxthist[i] != 0) {
                         if (first) {                          if (first) {
                                 printf("\tInput histogram:\n");                                  printf("\tInput packet histogram:\n");
                                 first = 0;                                  first = 0;
                         }                          }
                         printf("\t\t%s: %qu\n", ip6nh[i],                          printf("\t\t%s: %qu\n", ip6nh[i],
Line 850 
Line 850 
         for (first = 1, i = 0; i < 256; i++)          for (first = 1, i = 0; i < 256; i++)
                 if (icmp6stat.icp6s_outhist[i] != 0) {                  if (icmp6stat.icp6s_outhist[i] != 0) {
                         if (first) {                          if (first) {
                                 printf("\tOutput histogram:\n");                                  printf("\tOutput packet histogram:\n");
                                 first = 0;                                  first = 0;
                         }                          }
                         printf("\t\t%s: %qu\n", icmp6names[i],                          printf("\t\t%s: %qu\n", icmp6names[i],
Line 863 
Line 863 
         for (first = 1, i = 0; i < ICMP6_MAXTYPE; i++)          for (first = 1, i = 0; i < ICMP6_MAXTYPE; i++)
                 if (icmp6stat.icp6s_inhist[i] != 0) {                  if (icmp6stat.icp6s_inhist[i] != 0) {
                         if (first) {                          if (first) {
                                 printf("\tInput histogram:\n");                                  printf("\tInput packet histogram:\n");
                                 first = 0;                                  first = 0;
                         }                          }
                         printf("\t\t%s: %qu\n", icmp6names[i],                          printf("\t\t%s: %qu\n", icmp6names[i],

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3