]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: update ttl debug log messages
authorjason taylor <jtfas90@gmail.com>
Wed, 21 Sep 2022 20:46:59 +0000 (20:46 +0000)
committerVictor Julien <vjulien@oisf.net>
Fri, 23 Sep 2022 13:57:03 +0000 (15:57 +0200)
Signed-off-by: jason taylor <jtfas90@gmail.com>
src/detect-ttl.c

index 20d1563bfee974acbe6666f9ab5fef28e218dd70..02309b4f04de24e6e02de83902613ed324a9a8f2 100644 (file)
@@ -92,7 +92,7 @@ static int DetectTtlMatch (DetectEngineThreadCtx *det_ctx, Packet *p,
     } else if (PKT_IS_IPV6(p)) {
         pttl = IPV6_GET_HLIM(p);
     } else {
-        SCLogDebug("Packet is of not IPv4 or IPv6");
+        SCLogDebug("Packet is not IPv4 or IPv6");
         return 0;
     }
 
@@ -155,7 +155,7 @@ PrefilterPacketTtlMatch(DetectEngineThreadCtx *det_ctx, Packet *p, const void *p
     } else if (PKT_IS_IPV6(p)) {
         pttl = IPV6_GET_HLIM(p);
     } else {
-        SCLogDebug("Packet is of not IPv4 or IPv6");
+        SCLogDebug("Packet is not IPv4 or IPv6");
         return;
     }