mirror of https://github.com/OISF/suricata
app-layer: move ALPROTO_FAILED definition
Because some alprotos will remain static and defined as a constant, such as ALPROTO_UNKNOWN=0, or ALPROTO_FAILED. The regular already used protocols keep for now their static identifier such as ALPROTO_SNMP, but this could be made more dynamic in a later commit. ALPROTO_FAILED was used in comparison and these needed to change to use either ALPROTO_MAX or use standard function AppProtoIsValidpull/12389/head
parent
05853fb8d5
commit
e6be049c5d
Loading…
Reference in New Issue