Sha256: 14a58111e797d34256e75483606b673e9e6f8c7283f193a5db7e8a09cab33cde

Contents?: true

Size: 663 Bytes

Versions: 9

Compression:

Stored size: 663 Bytes

Contents

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



require_relative 'option'
require 'lib/dhcp/options/type/ip_array'

module Lib
  module DHCP
    class Option92 < Option

      # This option is used to return all of the IP addresses
      # associated with the DHCP client specified in a particular DHCPLEASEQUERY message.
      # The code for this option is 92.  The minimum length for this option is 4 octets,
      # and the length MUST always be a multiple of 4.

      include Type::IPArray

      alias_method :associated_ip, :payload
      alias_method :associated_ip=, :payload=
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lib-dhcp-0.2.5 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.2.4 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.2.3 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.2.2 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.2.1 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.2.0 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.1.8 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.1.4 lib/lib/dhcp/options/option92.rb
lib-dhcp-0.1.3 lib/lib/dhcp/options/option92.rb