Export drop reason and show it under flow details

This commit is contained in:
Alfredo Cardigliano 2025-02-18 14:43:50 +01:00
parent dc8b417e5d
commit fb0696fa2b
9 changed files with 121 additions and 40 deletions

View file

@ -6326,7 +6326,7 @@ static bool flow_drop_walker(GenericHashEntry *h, void *user_data,
Flow *f = (Flow *)h;
if (flow_matches(f, retriever)) {
f->setDropVerdict();
f->setDropVerdict(DROP_REASON_USER_ACTION);
*matched = true;
}