Revision c0a02816
Added by Ohad Levy over 12 years ago
- ID c0a02816158bf6861930ed480bd14b2ec0a05a2d
lib/proxy/dhcp/server.rb | ||
---|---|---|
|
||
# try to figure out if we already have this record
|
||
record = find_record(ip) || find_record(mac)
|
||
unless record.nil?
|
||
unless record.nil? or record.is_a?(Proxy::DHCP::Lease)
|
||
if Record.compare_options(record.options, options)
|
||
# we already got this record, no need to do anything
|
||
logger.debug "We already got the same DHCP record - skipping"
|
Also available in: Unified diff
fixes #1438 - the proxy should not consider dhcp leases as conflicts