lib/pio/arp/request.rb in pio-0.2.5 vs lib/pio/arp/request.rb in pio-0.2.6
- old
+ new
@@ -7,11 +7,11 @@
class Arp
# ARP Request packet generator
class Request < Message
OPERATION = 1
- BROADCAST_MAC_ADDRESS = Mac.new( 0xffffffffffff ).to_ary
- ALL_ZERO_MAC_ADDRESS = Mac.new( 0 ).to_ary
+ BROADCAST_MAC_ADDRESS = Mac.new( 0xffffffffffff ).to_a
+ ALL_ZERO_MAC_ADDRESS = Mac.new( 0 ).to_a
########################################################################
private
########################################################################