Fix [SIGAR-252] - Add support for discovering Windows 2012 R2

This commit is contained in:
tgoldman 2015-07-01 12:00:41 +03:00
parent 706f352e56
commit 0928a780f4
1 changed files with 1 additions and 1 deletions

View File

@ -3777,7 +3777,7 @@ int sigar_os_sys_info_get(sigar_t *sigar,
vendor_version = "2008"; vendor_version = "2008";
code_name = "Longhorn Server"; code_name = "Longhorn Server";
} }
else if (version.dwMinorVersion == 2) { else if (version.dwMinorVersion == 2 || version.dwMinorVersion == 3) {
vendor_name = "Windows 2012"; vendor_name = "Windows 2012";
vendor_version = "2012"; vendor_version = "2012";
code_name = "Windows Server 8"; code_name = "Windows Server 8";