[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.1 and 1.2

version 1.1, 1999/12/08 12:30:17 version 1.2, 1999/12/30 20:31:31
Line 487 
Line 487 
                         printf("\t\t%s: %qu\n", ip6nh[i],                          printf("\t\t%s: %qu\n", ip6nh[i],
                                ip6stat.ip6s_nxthist[i]);                                 ip6stat.ip6s_nxthist[i]);
                 }                  }
         printf("\tMbuf statics:\n");          if (ip6stat.ip6s_m1 || sflag <= 1)
         printf("\t\t%qu one mbuf\n", ip6stat.ip6s_m1);                  printf("\tMbuf statics:\n");
           p(ip6s_m1, "\t\t%qu one mbuf\n");
         for (first = 1, i = 0; i < 32; i++) {          for (first = 1, i = 0; i < 32; i++) {
                 char ifbuf[IFNAMSIZ];                  char ifbuf[IFNAMSIZ];
                 if (ip6stat.ip6s_m2m[i] != 0) {                  if (ip6stat.ip6s_m2m[i] != 0) {
Line 501 
Line 502 
                                ip6stat.ip6s_m2m[i]);                                 ip6stat.ip6s_m2m[i]);
                 }                  }
         }          }
         printf("\t\t%qu one ext mbuf\n", ip6stat.ip6s_mext1);          p(ip6s_mext1, "\t\t%qu one ext mbuf\n");
         printf("\t\t%qu two or more ext mbuf\n", ip6stat.ip6s_mext2m);          p(ip6s_mext2m, "\t\t%qu two or more ext mbuf\n");
         p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n");          p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n");
         p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n");          p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n");
 #undef p  #undef p

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