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.6 by ats, Thu Apr 8 13:44:44 2004 UTC vs.
Revision 1.7 by tdb, Wed Jul 13 09:31:53 2005 UTC

# Line 66 | Line 66 | int main(int argc, char **argv){
66          printf("Name\tSpeed\tDuplex\n");
67          for(i = 0; i < iface_count; i++) {
68                  printf("%s\t%d\t", network_iface_stats->interface_name, network_iface_stats->speed);
69 <                switch (network_iface_stats->dup) {
69 >                switch (network_iface_stats->duplex) {
70                  case SG_IFACE_DUPLEX_FULL:
71                          printf("full\n");
72                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines