--- projects/libstatgrab/src/libstatgrab/network_stats.c 2004/02/14 00:47:24 1.40 +++ projects/libstatgrab/src/libstatgrab/network_stats.c 2004/02/14 11:33:33 1.41 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: network_stats.c,v 1.40 2004/02/14 00:47:24 ats Exp $ + * $Id: network_stats.c,v 1.41 2004/02/14 11:33:33 pajs Exp $ */ #ifdef HAVE_CONFIG_H @@ -518,7 +518,7 @@ network_iface_stat_t *get_network_iface_stats(int *ent continue; } /* Solaris has 1 for up, and 0 for not. As we do too */ - network_iface_stat_ptr->up = value.ui32; + network_iface_stat_ptr->up = knp->value.ui32; if((knp=kstat_data_lookup(ksp, "link_duplex"))==NULL){ /* Not a network interface, so skip to the next entry */