]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
app-layer: fix minor typo and formatting in LogInfo
authorJuliana Fajardini <jufajardini@oisf.net>
Wed, 10 Apr 2024 21:38:14 +0000 (18:38 -0300)
committerJuliana Fajardini <jufajardini@oisf.net>
Wed, 10 Apr 2024 22:16:32 +0000 (19:16 -0300)
Also update copyright years.

src/app-layer-enip.c
src/app-layer-ftp.c
src/app-layer-htp.c
src/app-layer-smtp.c
src/app-layer-ssl.c

index f059774b6da5f536c985cfcc330727fb02c71e6a..2fbe898d4e63ac34a61dac08c45ee1ed241cade3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2015 Open Information Security Foundation
+/* Copyright (C) 2015-2024 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -562,9 +562,7 @@ void RegisterENIPUDPParsers(void)
                 IPPROTO_UDP, ALPROTO_ENIP, STREAM_TOSERVER | STREAM_TOCLIENT);
     } else
     {
-        SCLogInfo(
-                "Parsed disabled for %s protocol. Protocol detection" "still on.",
-                proto_name);
+        SCLogInfo("Parser disabled for %s protocol. Protocol detection still on.", proto_name);
     }
 
 #ifdef UNITTESTS
index 8925d6dd6a138109b6ed04da50ab88f30a9f01d8..c1e8b1646e9011f42f3ec657279268c0cb687a4b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Open Information Security Foundation
+/* Copyright (C) 2007-2024 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -1355,8 +1355,7 @@ void RegisterFTPParsers(void)
 
         FTPParseMemcap();
     } else {
-        SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
-                  "still on.", proto_name);
+        SCLogInfo("Parser disabled for %s protocol. Protocol detection still on.", proto_name);
     }
 
     FTPSetMpmState();
index 1b4d31c841c80d74ca2e42dade097707f38217d2..c240a817b85e8f1861deaada82467c033d43c84b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2020 Open Information Security Foundation
+/* Copyright (C) 2007-2024 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -3281,8 +3281,7 @@ void RegisterHTPParsers(void)
         /* app-layer-frame-documentation tag end: registering relevant callbacks */
         HTPConfigure();
     } else {
-        SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
-                  "still on.", proto_name);
+        SCLogInfo("Parser disabled for %s protocol. Protocol detection still on.", proto_name);
     }
 #ifdef UNITTESTS
     AppLayerParserRegisterProtocolUnittests(IPPROTO_TCP, ALPROTO_HTTP1, HTPParserRegisterTests);
index 469ea4740aba8158bbfd8b66910e7856d1cd5d35..b9e029788360f17d79eae2118ed99b645943eba8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2021 Open Information Security Foundation
+/* Copyright (C) 2007-2024 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -1902,8 +1902,7 @@ void RegisterSMTPParsers(void)
         AppLayerParserRegisterStateDataFunc(IPPROTO_TCP, ALPROTO_SMTP, SMTPGetStateData);
         AppLayerParserRegisterStateProgressCompletionStatus(ALPROTO_SMTP, 1, 1);
     } else {
-        SCLogInfo("Parsed disabled for %s protocol. Protocol detection"
-                  "still on.", proto_name);
+        SCLogInfo("Parser disabled for %s protocol. Protocol detection still on.", proto_name);
     }
 
     SMTPSetMpmState();
index cb094f3801ab85ed711496dd5b3db55743ecf2d6..52810f731d8daa596df5e8d894661701a3888bcf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Open Information Security Foundation
+/* Copyright (C) 2007-2024 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -1018,7 +1018,7 @@ static inline int TLSDecodeHSHelloExtensionSupportedVersions(SSLState *ssl_state
         if (!(HAS_SPACE(supported_ver_len)))
             goto invalid_length;
 
-        /* Use the first (and prefered) valid version as client version,
+        /* Use the first (and preferred) valid version as client version,
          * skip over GREASE and other possible noise. */
         uint16_t i = 0;
         while (i + 1 < (uint16_t)supported_ver_len) {
@@ -3074,8 +3074,7 @@ void RegisterSSLParsers(void)
             }
         }
     } else {
-        SCLogConfig("Parsed disabled for %s protocol. Protocol detection"
-                  "still on.", proto_name);
+        SCLogConfig("Parser disabled for %s protocol. Protocol detection still on.", proto_name);
     }
 
     return;