Sha256: 3ee053089206dda724031712e87eedd605803f1d1ef90607ce6870ee605aa8b4

Contents?: true

Size: 517 Bytes

Versions: 7

Compression:

Stored size: 517 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 Option10 < Option
      # Impress 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 :impress_server, :payload
      alias_method :impress_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/option10.rb
lib-dhcp-0.1.8 lib/lib/dhcp/options/option10.rb
lib-dhcp-0.1.4 lib/lib/dhcp/options/option10.rb
lib-dhcp-0.1.3 lib/lib/dhcp/options/option10.rb
lib-dhcp-0.1.2 lib/lib/dhcp/options/option10.rb
lib-dhcp-0.1.1 lib/lib/dhcp/options/option10.rb
lib-dhcp-0.1.0 lib/lib/dhcp/options/option10.rb