lib/fog/bouncer/protocols.rb in fog-bouncer-0.2.5 vs lib/fog/bouncer/protocols.rb in fog-bouncer-0.2.6
- old
+ new
@@ -70,10 +70,10 @@
class InvalidPort < StandardError; end
class ICMP < Protocol
ICMP_MAPPING = {
all: -1,
- ping: 8..0
+ ping: 0..8
}
ICMP_TYPE_RANGE = (-1..255)
def initialize(port, source)