In pass/drop combinations where the pass rule took precendence over
the drop, a "drop" false positive could still be logged due to the
storing of the drop record in the packet drop alert store.
Bug: #5867.
return FALSE;
}
+ if (!(PacketCheckAction(p, ACTION_DROP))) {
+ return FALSE;
+ }
+
if (g_droplog_flows_start && p->flow != NULL) {
int ret = FALSE;
ret = TRUE;
return ret;
- } else if (PacketCheckAction(p, ACTION_DROP)) {
- return TRUE;
}
- return FALSE;
+ return TRUE;
}
void JsonDropLogRegister (void)