diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-28 13:05:52 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-28 13:05:52 +0000 |
commit | 273812e62286f29262095d865b9795bb01ab147a (patch) | |
tree | 9de97265c3770f8e2662fd778cecdf237d9183b2 /src/plugins | |
parent | 1005a56d90402e090fe938d655893e1a81d33089 (diff) | |
download | mandi-273812e62286f29262095d865b9795bb01ab147a.tar mandi-273812e62286f29262095d865b9795bb01ab147a.tar.gz mandi-273812e62286f29262095d865b9795bb01ab147a.tar.bz2 mandi-273812e62286f29262095d865b9795bb01ab147a.tar.xz mandi-273812e62286f29262095d865b9795bb01ab147a.zip |
don't skip reports when a another attack is being reported
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/ifw/report_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ifw/report_list.c b/src/plugins/ifw/report_list.c index c21df7e..290746c 100644 --- a/src/plugins/ifw/report_list.c +++ b/src/plugins/ifw/report_list.c @@ -30,7 +30,7 @@ report_list_cell_t *report_list_find(report_list_t *list, u_int32_t addr, int in __list_for_each(entry, list) { report_list_cell_t *cell; cell = list_entry(entry, report_list_cell_t, list); - if (cell->info.s_addr == addr && include_processed || !cell->processed) { + if (cell->info.s_addr == addr && (include_processed || !cell->processed)) { return cell; } } |