app-layer: fix minor typo and formatting in LogInfo

Also update copyright years.
pull/10803/head
Juliana Fajardini 1 year ago
parent d9148d1023
commit cea917c38c

@ -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

@ -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();

@ -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);

@ -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();

@ -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;

Loading…
Cancel
Save