Sha256: 95a1d49ebf1f50467b7c649abd22c121749791253e4fb38a4fd7d923dda70819

Contents?: true

Size: 529 Bytes

Versions: 7

Compression:

Stored size: 529 Bytes

Contents

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


require_relative 'option'
require_relative 'type/string'

module Lib
  module DHCP
    class Option66 < Option
      # TFTP server name The code for this option is 66, and its minimum length is 1.
      include Type::String
      alias_method :tftp_server_name, :payload
      alias_method :tftp_server_name=, :payload=
      alias_method :tftp_server, :payload
      alias_method :tftp_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/option66.rb
lib-dhcp-0.1.8 lib/lib/dhcp/options/option66.rb
lib-dhcp-0.1.4 lib/lib/dhcp/options/option66.rb
lib-dhcp-0.1.3 lib/lib/dhcp/options/option66.rb
lib-dhcp-0.1.2 lib/lib/dhcp/options/option66.rb
lib-dhcp-0.1.1 lib/lib/dhcp/options/option66.rb
lib-dhcp-0.1.0 lib/lib/dhcp/options/option66.rb