Skip to content

Commit

Permalink
Fix webserver info's supports_sni property on server 2012.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyca15 committed Apr 26, 2017
1 parent 281bda6 commit 52e07bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static object ToJsonModel(IWebServerVersion versionProvider)
var obj = new {
name = "Microsoft Internet Information Services",
id = WebServerId.CreateFromPath(ManagementUnit.Current.ApplicationHostConfigPath).Uuid,
supports_sni = version != null && version > new Version(8, 0),
supports_sni = version != null && version >= new Version(8, 0),
status = Enum.GetName(typeof(Status), GetStatus()).ToLower(),
version = GetVersion()
};
Expand Down

0 comments on commit 52e07bd

Please sign in to comment.