From 9351c48d57f39c8a6d7308df869ab48d3fceb6df Mon Sep 17 00:00:00 2001 From: Carter Li Date: Wed, 19 Jun 2024 10:14:38 +0800 Subject: [PATCH] OS (Windows): set `idLike` to `Windows` --- src/detection/os/os_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/os/os_windows.cpp b/src/detection/os/os_windows.cpp index 8734f74c1..117be1ed0 100644 --- a/src/detection/os/os_windows.cpp +++ b/src/detection/os/os_windows.cpp @@ -90,4 +90,5 @@ void ffDetectOSImpl(FFOSResult* os) } ffStrbufAppendF(&os->id, "%*s %*s", os->prettyName.length, os->prettyName.chars, os->version.length, os->version.chars); + ffStrbufSetStatic(&os->idLike, "Windows"); }