Revision 1728ab70
Added by Paul Kelly over 13 years ago
- ID 1728ab7030250f6b3aef53d54641a5dbaf871a52
lib/proxy/dhcp.rb | ||
---|---|---|
module Proxy::DHCP;
|
||
module Proxy::DHCP
|
||
require "proxy/dhcp/record"
|
||
require "proxy/dhcp/record/lease"
|
||
require "proxy/dhcp/record/reservation"
|
||
require "proxy/dhcp/server"
|
||
Optcode = {:hostname => 12, :filename => 67, :nextserver => 66}
|
||
class Error < RuntimeError; end
|
||
class InvalidRecord < RuntimeError; end
|
||
|
Also available in: Unified diff
Fixes #64 - microsoft DHCP support
Added MS fixes on a Windows host
Stubbed the tests so as to not require an active subnet
Changed chomp to chomp! plus others identified by Ohad
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>