Removed
Link Here
|
1 |
diff -ruN Unix-Statgrab-0.03/Statgrab.xs Unix-Statgrab-0.03.new/Statgrab.xs |
2 |
--- Statgrab.xs Sun Apr 3 06:32:41 2005 |
3 |
+++ Statgrab.xs Sat Jul 30 12:10:10 2005 |
4 |
@@ -1113,13 +1113,13 @@ |
5 |
RETVAL |
6 |
|
7 |
IV |
8 |
-dup (self, num = 0) |
9 |
+duplex (self, num = 0) |
10 |
sg_network_iface_stats_my *self; |
11 |
int num; |
12 |
CODE: |
13 |
if (num < 0 || num >= self->nifs) |
14 |
XSRETURN_UNDEF; |
15 |
- RETVAL = IF(num)->dup; |
16 |
+ RETVAL = IF(num)->duplex; |
17 |
OUTPUT: |
18 |
RETVAL |
19 |
|
20 |
diff -ruN Unix-Statgrab-0.03/lib/Unix/Statgrab.pm Unix-Statgrab-0.03.new/lib/Unix/Statgrab.pm |
21 |
--- lib/Unix/Statgrab.pm Sun Apr 3 06:45:44 2005 |
22 |
+++ lib/Unix/Statgrab.pm Sat Jul 30 12:09:53 2005 |
23 |
@@ -479,7 +479,7 @@ |
24 |
|
25 |
The speed of the interface, in megabits/sec |
26 |
|
27 |
-=item * B<dup($if)> |
28 |
+=item * B<duplex($if)> |
29 |
|
30 |
One of C<SG_IFACE_DUPLEX_FULL>, C<SG_IFACE_DUPLEX_HALF> and C<SG_IFACE_DUPLEX_UNKNOWN>. Unknown could mean that duplex hasn't been negotiated yet. |
31 |
|
32 |
diff -ruN Unix-Statgrab-0.03/t/Unix-Statgrab.t Unix-Statgrab-0.03.new/t/Unix-Statgrab.t |
33 |
--- t/Unix-Statgrab.t Sun Apr 3 06:35:08 2005 |
34 |
+++ t/Unix-Statgrab.t Sat Jul 30 12:09:29 2005 |
35 |
@@ -50,7 +50,7 @@ |
36 |
ierrors oerrors collisions systime/ ], |
37 |
get_network_io_stats_diff => [ qw/num_ifaces interface_name tx rx ipackets opackets |
38 |
ierrors oerrors collisions systime/ ], |
39 |
- get_network_iface_stats => [ qw/num_ifaces interface_name speed dup up/ ], |
40 |
+ get_network_iface_stats => [ qw/num_ifaces interface_name speed duplex up/ ], |
41 |
get_page_stats => [ qw/pages_pagein pages_pageout systime/ ], |
42 |
get_page_stats_diff => [ qw/pages_pagein pages_pageout systime/ ], |
43 |
get_user_stats => [ qw/num_entries name_list/ ], |