diff options
-rwxr-xr-x | scripts/vyatta-show-bonding.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/vyatta-show-bonding.pl b/scripts/vyatta-show-bonding.pl index c3f5b01..2b7c8d6 100755 --- a/scripts/vyatta-show-bonding.pl +++ b/scripts/vyatta-show-bonding.pl @@ -95,10 +95,10 @@ sub show { foreach my $slave (@slaves) { printf $format, ' ' . $slave, - get_sysfs_value( $intf, "statistics/rx_bytes" ), - get_sysfs_value( $intf, "statistics/rx_packets" ), - get_sysfs_value( $intf, "statistics/tx_bytes" ), - get_sysfs_value( $intf, "statistics/tx_packets" ); + get_sysfs_value( $slave, "statistics/rx_bytes" ), + get_sysfs_value( $slave, "statistics/rx_packets" ), + get_sysfs_value( $slave, "statistics/tx_bytes" ), + get_sysfs_value( $slave, "statistics/tx_packets" ); } } } |