From: Shivani Bhardwaj Date: Fri, 15 Nov 2024 09:31:31 +0000 (+0530) Subject: detect/smb: fix the sigmatch table for url X-Git-Tag: suricata-8.0.0-beta1~705 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12122%2Fhead;p=thirdparty%2Fsuricata.git detect/smb: fix the sigmatch table for url sigmatch_table for url entry was incorrectly set to DETECT_FLOW_AGE. --- diff --git a/src/detect-smb-version.c b/src/detect-smb-version.c index 0284566ff3..e33001d55b 100644 --- a/src/detect-smb-version.c +++ b/src/detect-smb-version.c @@ -140,7 +140,7 @@ void DetectSmbVersionRegister(void) sigmatch_table[DETECT_SMB_VERSION].AppLayerTxMatch = DetectSmbVersionMatchRust; sigmatch_table[DETECT_SMB_VERSION].Free = DetectSmbVersionFree; sigmatch_table[DETECT_SMB_VERSION].desc = "smb keyword to match on SMB version"; - sigmatch_table[DETECT_FLOW_AGE].url = "/rules/smb-keywords.html#smb-version"; + sigmatch_table[DETECT_SMB_VERSION].url = "/rules/smb-keywords.html#smb-version"; DetectAppLayerInspectEngineRegister( BUFFER_NAME, ALPROTO_SMB, SIG_FLAG_TOSERVER, 0, DetectEngineInspectGenericList, NULL);