avoid inadvertant object creation with invalid addresses
commitd5fc6f66bc17f27770b38126b6c4211fd938c5b5
authorEric Wong <normalperson@yhbt.net>
Wed, 12 Oct 2011 21:00:23 +0000 (12 14:00 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 12 Oct 2011 21:00:23 +0000 (12 14:00 -0700)
tree946d7be0f4f5aa57318abe220e354d6590519131
parent360b8569cbb2b795019db278463245cce4270d09
avoid inadvertant object creation with invalid addresses

Just in case somebody tries to scan all addresses, we
won't run out of memory as easily.
lib/raindrops/watcher.rb
test/test_watcher.rb