Class: PacketGen::Header::DHCP::Pad

Inherits:
End show all
Defined in:
lib/packetgen/header/dhcp/option.rb

Overview

Class to indicate padding after DHCP options

Since:

  • 2.2.0

Instance Attribute Summary

Attributes inherited from Types::Int

#default, #endian, #value, #width

Instance Method Summary collapse

Methods inherited from End

#to_human

Methods inherited from Types::Int

#read, #sz, #to_f, #to_i, #to_s

Constructor Details

#initialize(value = 0) ⇒ Pad

Returns a new instance of Pad.

Since:

  • 2.2.0



73
74
75
# File 'lib/packetgen/header/dhcp/option.rb', line 73

def initialize(value=0)
  super
end