diff options
author | Patrick Schaumburg <pschaumburg@tecracer.de> | 2020-03-30 16:18:39 +0200 |
---|---|---|
committer | Patrick Schaumburg <pschaumburg@tecracer.de> | 2020-03-30 16:18:39 +0200 |
commit | 9a0a642fdcb32306a7e4cd0d7895b1ff116c665e (patch) | |
tree | 6e59ec04bd4f3eb59fed9a514fb14ae14528ce86 /lib | |
parent | 0bdeca2ea7d7108db6418c597f5c379da6eba7e8 (diff) | |
download | chef-9a0a642fdcb32306a7e4cd0d7895b1ff116c665e.tar.gz |
add some more tests
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/windows_firewall_rule.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_firewall_rule.rb b/lib/chef/resource/windows_firewall_rule.rb index dcdec77395..fcc373c7cb 100644 --- a/lib/chef/resource/windows_firewall_rule.rb +++ b/lib/chef/resource/windows_firewall_rule.rb @@ -251,7 +251,6 @@ class Chef elsif icmp_type.is_a?(String) return false if !protocol.start_with?("ICMP") && icmp_type !~ /^\D+$/ - return false if icmp_type.count("a-zA-Z") > 0 && icmp_type.count(":") > 1 if protocol.start_with?("ICMP") && icmp_type.include?(":") |