Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
jjxtra committed May 31, 2019
1 parent c638ad4 commit 5787603
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Core/IPBanConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public class IPBanConfig
private readonly HashSet<string> whiteList = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
private readonly bool clearBannedIPAddressesOnRestart;
private readonly HashSet<string> userNameWhitelist = new HashSet<string>(StringComparer.Ordinal);
private readonly bool createWhitelistFirewallRule;
private readonly int userNameWhitelistMaximumEditDistance = 2;
private readonly int failedLoginAttemptsBeforeBanUserNameWhitelist = 20;
private readonly Dictionary<string, string> osAndFirewallType = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Expand Down Expand Up @@ -97,7 +96,6 @@ private IPBanConfig(string xml, IDnsLookup dns)
GetConfig<TimeSpan>("CycleTime", ref cycleTime);
GetConfig<TimeSpan>("MinimumTimeBetweenFailedLoginAttempts", ref minimumTimeBetweenFailedLoginAttempts);
GetConfig<string>("FirewallRulePrefix", ref firewallRulePrefix);
GetConfig<bool>("CreateWhitelistFirewallRule", ref createWhitelistFirewallRule);

string whiteListString = GetConfig<string>("Whitelist", string.Empty);
string whiteListRegexString = GetConfig<string>("WhitelistRegex", string.Empty);
Expand Down

0 comments on commit 5787603

Please sign in to comment.