mirror of https://github.com/OISF/suricata
firewall: share the generic app hook name helper
Mapping an app-layer progress state to its generic request-/response-
hook alias was hardcoded in multiple places.
This commit adds a wrapper to unify it to a single function.
It returns the config-form (hyphenated) name, or NULL for an
intermediate state.
Ticket: 8770
(cherry picked from commit 1aa0259876)
pull/16123/head
parent
c3134d4ab8
commit
400e750496
Loading…
Reference in New Issue