detect/payload: minor formatting fixup

pull/5635/head
Victor Julien 4 years ago
parent 1f1a765132
commit 51f38f6453

@ -324,9 +324,8 @@ int DetectEngineInspectStream(ThreadVars *tv,
/* in certain sigs, e.g. 'alert dns', which apply to both tcp and udp
* we can get called for UDP. Then we simply inspect the packet payload */
if (p->proto == IPPROTO_UDP) {
return DetectEngineInspectStreamUDPPayload(de_ctx,
det_ctx, s, smd, f, p);
/* for other non-TCP protocols we assume match */
return DetectEngineInspectStreamUDPPayload(de_ctx, det_ctx, s, smd, f, p);
/* for other non-TCP protocols we assume match */
} else if (p->proto != IPPROTO_TCP)
return DETECT_ENGINE_INSPECT_SIG_MATCH;

Loading…
Cancel
Save