]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/entropy: Correct slot for url initialization
authorJeff Lucovsky <jlucovsky@oisf.net>
Mon, 12 May 2025 17:44:28 +0000 (13:44 -0400)
committerVictor Julien <victor@inliniac.net>
Tue, 13 May 2025 07:29:28 +0000 (09:29 +0200)
Correct the sigmatch slot for url initialization.

src/detect-entropy.c

index 48e88f9fbd17da002f48960d39e1e130db923c58..34a7e8b80b9f843e33f198d5eb1d3b36ea833de2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2024 Open Information Security Foundation
+/* Copyright (C) 2025 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
@@ -70,7 +70,7 @@ void DetectEntropyRegister(void)
 {
     sigmatch_table[DETECT_ENTROPY].name = "entropy";
     sigmatch_table[DETECT_ENTROPY].desc = "calculate entropy";
-    sigmatch_table[DETECT_BYTE_EXTRACT].url = "/rules/payload-keywords.html#entropy";
+    sigmatch_table[DETECT_ENTROPY].url = "/rules/payload-keywords.html#entropy";
     sigmatch_table[DETECT_ENTROPY].Free = DetectEntropyFree;
     sigmatch_table[DETECT_ENTROPY].Setup = DetectEntropySetup;
 }