From 0928a780f4c6a6b2075ec9c555c40e24c0ae08b2 Mon Sep 17 00:00:00 2001 From: tgoldman Date: Wed, 1 Jul 2015 12:00:41 +0300 Subject: [PATCH] Fix [SIGAR-252] - Add support for discovering Windows 2012 R2 --- src/os/win32/win32_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index cbe94a4e..f53b5e9a 100755 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -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";