Merge pull request #101 from schadom/patch-1

Fix syntax error
This commit is contained in:
Manuel Kasper 2021-02-15 18:27:01 +01:00 committed by GitHub
commit 412127ac7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,11 +380,11 @@ sub parse_netflow_v9_data_flowset {
if (defined($snmpin) && defined($snmpout)) {
if (not (defined($srcas))) { $srcas=0; }
if (not (defined($dstas))) { $dstas=0; }
if defined($srcip) {
if (defined($srcip)) {
$srcas = replace_asn($srcip, $srcas);
}
if defined($dstip) {
if (defined($dstip)) {
$dstas = replace_asn($dstip, $dstas);
}