Sha256: 21734a8081c255b9276c0baa3e84ce62234abd5c172ca54959e4a2293883fcdb

Contents?: true

Size: 515 Bytes

Versions: 7

Compression:

Stored size: 515 Bytes

Contents

#Author: Piotr Wojcieszonek
#e-mail: piotr@wojcieszonek.pl
# Copyright 22.03.2016 by Piotr Wojcieszonek


require_relative 'option'
require_relative 'type/ip_array'

module Lib
  module DHCP
    class Option8 < Option
      #  Cookie Server Option, The minimum length for the router option is 4 octets, and the length MUST always be
      # a multiple of 4 Multiple IP ADDRESS

      include Type::IPArray

      alias_method :cookie_server, :payload
      alias_method :cookie_server=, :payload=

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lib-dhcp-0.2.0 lib/lib/dhcp/options/option8.rb
lib-dhcp-0.1.8 lib/lib/dhcp/options/option8.rb
lib-dhcp-0.1.4 lib/lib/dhcp/options/option8.rb
lib-dhcp-0.1.3 lib/lib/dhcp/options/option8.rb
lib-dhcp-0.1.2 lib/lib/dhcp/options/option8.rb
lib-dhcp-0.1.1 lib/lib/dhcp/options/option8.rb
lib-dhcp-0.1.0 lib/lib/dhcp/options/option8.rb