Merge branch '1732-Filtros_SNMP_se_van_acumulando_trazas' into 'develop'

fixed minor error snmpserver

See merge request artica/pandorafms!1214
This commit is contained in:
mariopulido 2017-12-29 11:49:43 +01:00
commit 6fd15329df
1 changed files with 2 additions and 2 deletions

View File

@ -196,10 +196,10 @@ sub pandora_snmptrapd {
my ($pa_config, $line, $server_id, $dbh) = @_;
(my $trap_ver, $line) = split(/\[\*\*\]/, $line, 2);
print STDERR "ANTES";
# Process SNMP filter
next if (matches_filter ($dbh, $pa_config, $line) == 1);
print STDERR "DESPUES";
logger($pa_config, "Reading trap '$line'", 10);
my ($date, $time, $source, $oid, $type, $type_desc, $value, $data) = ('', '', '', '', '', '', '', '');