Fix pandoradb deleting old netflow data

This commit is contained in:
Calvo 2022-08-12 10:12:40 +02:00
parent ec33fdcd3e
commit dd0262b26c
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ sub pandora_purgedb ($$) {
log_message ('!', "Cannot execute " . $conf->{'_netflow_nfexpire'} . ", skipping."); log_message ('!', "Cannot execute " . $conf->{'_netflow_nfexpire'} . ", skipping.");
} }
else { else {
`yes 2>/dev/null | $conf->{'_netflow_nfexpire'} -e "$conf->{'_netflow_path'}" -t $conf->{'_netflow_max_lifetime'}d`; `yes 2>/dev/null | $conf->{'_netflow_nfexpire'} -r "$conf->{'_netflow_path'}" -t $conf->{'_netflow_max_lifetime'}d`;
} }
} }
else { else {