ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/examples/network_iface_stats.c
(Generate patch)

Comparing projects/libstatgrab/examples/network_iface_stats.c (file contents):
Revision 1.1 by tdb, Fri Feb 13 15:40:12 2004 UTC vs.
Revision 1.2 by tdb, Fri Feb 13 15:51:21 2004 UTC

# Line 48 | Line 48 | int main(int argc, char **argv){
48  
49          printf("Name\tSpeed\tDuplex\n");
50          for(i = 0; i < iface_count; i++) {
51                printf("%d\n", network_iface_stats->dup);
51                  printf("%s\t%d\t", network_iface_stats->interface_name, network_iface_stats->speed);
52                  switch (network_iface_stats->dup) {
53                  case FULL_DUPLEX:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines