class DHCP::Client
Attributes
mac[RW]
Public Class Methods
new(opt={})
click to toggle source
# File lib/dhcp/client.rb, line 7 def initialize(opt={}) @mac = opt[:mac] @sock = opt[:sock] @lease = nil end
Public Instance Methods
_parse_packet(data)
click to toggle source
# File lib/dhcp/client.rb, line 14 def _parse_packet(data) pk = DHCP::Packet.new(data) data end
run()
click to toggle source
# File lib/dhcp/client.rb, line 19 def run end