]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/payload: minor formatting fixup
authorVictor Julien <victor@inliniac.net>
Mon, 19 Oct 2020 13:49:02 +0000 (15:49 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 7 Dec 2020 14:27:23 +0000 (15:27 +0100)
src/detect-engine-payload.c

index a5752464bea61e666667ff3fae5e4b1c7e8a7df1..a6930694340d62ab8aff3cabad7f07190fa4f580 100644 (file)
@@ -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;