Commit 6bb858c8 authored by Cool Fire's avatar Cool Fire
parents 80d5db62 4cedc0c2
......@@ -89,10 +89,10 @@ iplist.each do |ip|
# Gather details about the IP
# From suricata
fw_details = %x(grep #{ip.to_s} #{fw_logfile} | grep #{fw_date})
fw_details = %x(grep #{ip.to_string} #{fw_logfile} | grep #{fw_date})
# From Fail2ban
f2b_details = %x(grep #{ip.to_s} #{f2b_logfile} | grep #{f2b_date})
f2b_details = %x(grep #{ip.to_string} #{f2b_logfile} | grep #{f2b_date})
# Build mail body
mail = <<MESSAGE_END
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment