adjust pandora_snmp_bandwidth.pl to current content
This commit is contained in:
parent
1c032e0b67
commit
c56343b76e
|
@ -563,7 +563,7 @@ foreach my $iface (keys %{$analysis_tree}) {
|
|||
$inUsage += $analysis_tree->{$iface}{'inUsage'};
|
||||
$j++;
|
||||
}
|
||||
if (is_enabled($analysis_tree->{$iface}{'outUsage'}) || $analysis_tree->{$iface}{'outUsage'} == 0) {
|
||||
if (is_enabled($analysis_tree->{$iface}{'outUsage'}) || $analysis_tree->{$iface}{'inUsage'} == 0) {
|
||||
$outUsage += $analysis_tree->{$iface}{'outUsage'};
|
||||
$k++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue