diff -uNr Unix-Statgrab-0.03/lib/Unix/Statgrab.pm Unix-Statgrab-0.03.of/lib/Unix/Statgrab.pm --- Unix-Statgrab-0.03/lib/Unix/Statgrab.pm 2005-04-03 07:45:44.000000000 +0200 +++ Unix-Statgrab-0.03.of/lib/Unix/Statgrab.pm 2005-08-10 11:15:20.000000000 +0200 @@ -479,7 +479,7 @@ The speed of the interface, in megabits/sec -=item * B +=item * B One of C, C and C. Unknown could mean that duplex hasn't been negotiated yet. diff -uNr Unix-Statgrab-0.03/Statgrab.xs Unix-Statgrab-0.03.of/Statgrab.xs --- Unix-Statgrab-0.03/Statgrab.xs 2005-04-03 07:32:41.000000000 +0200 +++ Unix-Statgrab-0.03.of/Statgrab.xs 2005-08-10 11:12:40.000000000 +0200 @@ -1113,13 +1113,13 @@ RETVAL IV -dup (self, num = 0) +duplex (self, num = 0) sg_network_iface_stats_my *self; int num; CODE: if (num < 0 || num >= self->nifs) XSRETURN_UNDEF; - RETVAL = IF(num)->dup; + RETVAL = IF(num)->duplex; OUTPUT: RETVAL diff -uNr Unix-Statgrab-0.03/t/Unix-Statgrab.t Unix-Statgrab-0.03.of/t/Unix-Statgrab.t --- Unix-Statgrab-0.03/t/Unix-Statgrab.t 2005-04-03 07:35:08.000000000 +0200 +++ Unix-Statgrab-0.03.of/t/Unix-Statgrab.t 2005-08-10 11:15:28.000000000 +0200 @@ -50,7 +50,7 @@ ierrors oerrors collisions systime/ ], get_network_io_stats_diff => [ qw/num_ifaces interface_name tx rx ipackets opackets ierrors oerrors collisions systime/ ], - get_network_iface_stats => [ qw/num_ifaces interface_name speed dup up/ ], + get_network_iface_stats => [ qw/num_ifaces interface_name speed duplex up/ ], get_page_stats => [ qw/pages_pagein pages_pageout systime/ ], get_page_stats_diff => [ qw/pages_pagein pages_pageout systime/ ], get_user_stats => [ qw/num_entries name_list/ ],