mirror of https://github.com/OISF/suricata
app-layer: tell pp registrar if config was found
The probing parser registration function AppLayerProtoDetectPPParseConfPorts was a void, meaning it would give no feedback to the registering protocol implementation. If a config was missing, it would just give up. This patch changes it to return a bool. 0 if no config was found, 1 if a config was found. This allows the caller to setup a default case.pull/841/head
parent
ec4288f7c2
commit
ab10c0a099
Loading…
Reference in New Issue