--- projects/pystatgrab/_statgrab.pyx 2004/08/24 20:43:47 1.15 +++ projects/pystatgrab/_statgrab.pyx 2005/07/30 10:49:42 1.16 @@ -17,7 +17,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# $Id: _statgrab.pyx,v 1.15 2004/08/24 20:43:47 tdb Exp $ +# $Id: _statgrab.pyx,v 1.16 2005/07/30 10:49:42 tdb Exp $ # ctypedef long time_t @@ -174,7 +174,7 @@ cdef extern from "statgrab.h": ctypedef struct sg_network_iface_stats: char *interface_name int speed - sg_iface_duplex dup + sg_iface_duplex duplex int up cdef extern sg_network_iface_stats *sg_get_network_iface_stats(int *entries) @@ -546,7 +546,7 @@ def py_sg_get_network_iface_stats(): list.append(Result( {'interface_name': s.interface_name, 'speed': s.speed, - 'dup': s.dup, + 'duplex': s.duplex, 'up' : s.up, } ))