Permalink
Browse files

firewall: Fixed typo in pattern.rb

  • Loading branch information...
andrewladlow committed Jul 17, 2018
1 parent d9b725d commit ba153d985d6af601a9a9917e97f1326ecfb7316c
Showing with 7 additions and 1 deletion.
  1. +6 −0 firewall/debian/changelog
  2. +1 −1 firewall/lib/symbiosis/firewall/pattern.rb
@@ -1,3 +1,9 @@
symbiosis-firewall (2018:0717) stable; urgency=medium

* Fixed typo in pattern.rb to prevent erroneous cron emails.

-- Andrew Ladlow <andrew.ladlow@bytemark.co.uk> Tue, 17 Jul 2018 08:31:29 +0100

symbiosis-firewall (2017:0901) stable; urgency=medium

* Removed default install of reject-www-data rule.
@@ -81,7 +81,7 @@ def apply(lines)
begin
ip = IPAddr.new(ip)
rescue ArgumentError
verbose "Failed to parse IP #{ip.inspect} (from #{line.inspect})."
puts "Failed to parse IP #{ip.inspect} (from #{line.inspect})." if $VERBOSE
end

next unless ip.is_a?(IPAddr)

0 comments on commit ba153d9

Please sign in to comment.