From: Victor Julien Date: Mon, 19 Oct 2020 13:49:02 +0000 (+0200) Subject: detect/payload: minor formatting fixup X-Git-Tag: suricata-7.0.0-beta1~1982 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51f38f6453870a5ac0b541dc12134df65a8d790e;p=thirdparty%2Fsuricata.git detect/payload: minor formatting fixup --- diff --git a/src/detect-engine-payload.c b/src/detect-engine-payload.c index a5752464be..a693069434 100644 --- a/src/detect-engine-payload.c +++ b/src/detect-engine-payload.c @@ -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;