From fc4fd924678751698d13fa8031921e0a68d12800 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Mon, 1 Jun 2015 13:31:50 +0300 Subject: [PATCH] Iptables updated errors messages #2348 --- lib/iptable.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/iptable.rb b/lib/iptable.rb index b40e71055..c41bc37f4 100644 --- a/lib/iptable.rb +++ b/lib/iptable.rb @@ -7,11 +7,11 @@ module Iptable f.puts "+#{ip}" end rescue Errno::ENOENT => e - logger.error "ERROR: cannot open #{counter_proc}: #{e}" + logger.error "IPTABLES COUNTER UPDATE: cannot open #{counter_proc}: #{e}" rescue Errno::EACCES => e - logger.error "ERROR: no permission #{counter_proc}: #{e}" + logger.error "IPTABLES COUNTER UPDATE: no permission #{counter_proc}: #{e}" rescue IOError => e - logger.error "ERROR: cannot write #{ip} to #{counter_proc}: #{e}" + logger.error "IPTABLES COUNTER UPDATE: cannot write #{ip} to #{counter_proc}: #{e}" end end end