Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dns over http2 5773 v14 #11376

Closed
wants to merge 11 commits into from
12 changes: 8 additions & 4 deletions src/detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1130,10 +1130,14 @@ static bool DetectRunTxInspectRule(ThreadVars *tv,
{
void *tx_ptr = DetectGetInnerTx(tx->tx_ptr, f->alproto, engine->alproto, flow_flags);
if (tx_ptr == NULL) {
/* special case: file_data on 'alert tcp' will have engines
* in the list that are not for us. */
engine = engine->next;
continue;
if (engine->alproto != 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use ALPROTO_UNKNOWN here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok (is written 0 in master)

/* special case: file_data on 'alert tcp' will have engines
* in the list that are not for us. */
engine = engine->next;
continue;
} else {
tx_ptr = tx->tx_ptr;
}
}

/* engines are sorted per progress, except that the one with
Expand Down
Loading