Fix [SIGAR-252] - Add support for discovering Windows 2012 R2
This commit is contained in:
parent
706f352e56
commit
0928a780f4
|
@ -3777,7 +3777,7 @@ int sigar_os_sys_info_get(sigar_t *sigar,
|
|||
vendor_version = "2008";
|
||||
code_name = "Longhorn Server";
|
||||
}
|
||||
else if (version.dwMinorVersion == 2) {
|
||||
else if (version.dwMinorVersion == 2 || version.dwMinorVersion == 3) {
|
||||
vendor_name = "Windows 2012";
|
||||
vendor_version = "2012";
|
||||
code_name = "Windows Server 8";
|
||||
|
|
Loading…
Reference in New Issue