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

Comparing projects/libstatgrab/src/libstatgrab/network_stats.c (file contents):
Revision 1.38 by ats, Sat Feb 14 00:27:58 2004 UTC vs.
Revision 1.39 by ats, Sat Feb 14 00:29:29 2004 UTC

# Line 608 | Line 608 | network_iface_stat_t *get_network_iface_stats(int *ent
608                          }
609                  } else {
610                          /* Not all interfaces support the ethtool ioctl. */
611 <                        network_iface_stat_ptr->speed = -1;
611 >                        network_iface_stat_ptr->speed = 0;
612                          network_iface_stat_ptr->dup = UNKNOWN_DUPLEX;
613                  }
614  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines