aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-11-10 16:59:50 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-11-10 16:59:50 +0000
commit13c8de53a94e963540d0475b959d40c35d6a0c8e (patch)
treecc124201751ce19807a0cb6115b17e771bf8c954 /lib
parent139fc8ae74c5019003e1b4fa350240f8e9fedebc (diff)
Log received at time in processor
Diffstat (limited to 'lib')
-rw-r--r--lib/mauve/processor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/processor.rb b/lib/mauve/processor.rb
index c8a1dfb..0e59778 100644
--- a/lib/mauve/processor.rb
+++ b/lib/mauve/processor.rb
@@ -100,7 +100,7 @@ module Mauve
#
# Uh-oh. Nil data? That's craaaazy
#
- break if data.nil?
+ next if data.nil?
# logger.debug("Got #{data.inspect} from #{client.inspect}")
@@ -119,7 +119,7 @@ module Mauve
next
end
- logger.debug "Update #{update.transmission_id} sent at #{update.transmission_time} from "+
+ logger.debug "Update #{update.transmission_id} sent at #{update.transmission_time} received at #{received_at.to_i} from "+
"'#{update.source}'@#{ip_source} alerts #{update.alert.length}"
Alert.receive_update(update, received_at, ip_source)