adjust pandora_snmp_bandwidth.pl to current content

This commit is contained in:
KANAYAMA Akihiro 2022-12-20 11:54:17 +09:00
parent 1c032e0b67
commit c56343b76e
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}