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.76 by tdb, Sat Sep 24 13:29:22 2005 UTC vs.
Revision 1.77 by tdb, Sun Jan 22 18:10:39 2006 UTC

# Line 694 | Line 694 | sg_network_iface_stats *sg_get_network_iface_stats(int
694                          if ((ifr.ifr_flags & IFF_UP) != 0) {
695                                  network_iface_stat_ptr->up = 1;
696                          } else {
697 <                                network_iface_stat_ptr->up = 1;
697 >                                network_iface_stat_ptr->up = 0;
698                          }
699  
700                          if ((knp = kstat_data_lookup(ksp, "ifspeed")) != NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines