Skip to content

Commit

Permalink
app-layer: do not require probing parser
Browse files Browse the repository at this point in the history
as fixed patterns can be enough
  • Loading branch information
catenacyber committed Nov 23, 2023
1 parent aa6ba65 commit a6476ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app-layer-register.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ AppProto AppLayerRegisterProtocolDetection(const struct AppLayerParser *p, int e
AppLayerProtoDetectRegisterProtocol(alproto, p->name);

if (p->ProbeTS == NULL && p->ProbeTC == NULL) {
BUG_ON(p->default_port != NULL);
return alproto;
}

Expand Down

0 comments on commit a6476ad

Please sign in to comment.