We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f57a3 commit 4a1ada6Copy full SHA for 4a1ada6
src/detection/host/host_linux.c
@@ -77,10 +77,11 @@ const char* ffDetectHost(FFHostResult* host)
77
//On WSL, the real host can't be detected. Instead use WSL as host.
78
if(wslDistroName != NULL || getenv("WSL_DISTRO") != NULL || getenv("WSL_INTEROP") != NULL)
79
{
80
- ffStrbufAppendS(&host->name, "Windows Subsystem for Linux");
+ ffStrbufSetStatic(&host->name, "Windows Subsystem for Linux");
81
if (wslDistroName)
82
ffStrbufAppendF(&host->name, " - %s", wslDistroName);
83
- ffStrbufAppendS(&host->family, "WSL");
+ ffStrbufSetStatic(&host->family, "WSL");
84
+ ffStrbufSetStatic(&host->vendor, "Microsoft Corporation");
85
86
if (instance.config.general.detectVersion)
87
0 commit comments