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.40 by ats, Sat Feb 14 00:47:24 2004 UTC vs.
Revision 1.41 by pajs, Sat Feb 14 11:33:33 2004 UTC

# Line 518 | Line 518 | network_iface_stat_t *get_network_iface_stats(int *ent
518                                  continue;
519                          }
520                          /* Solaris has 1 for up, and 0 for not. As we do too */
521 <                        network_iface_stat_ptr->up = value.ui32;
521 >                        network_iface_stat_ptr->up = knp->value.ui32;
522  
523                          if((knp=kstat_data_lookup(ksp, "link_duplex"))==NULL){
524                                  /* Not a network interface, so skip to the next entry */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines