Class: PacketGen::Header::DHCPv6::ServerUnicast

Inherits:
Option
  • Object
show all
Defined in:
lib/packetgen/header/dhcpv6/option.rb

Overview

DHCPv6 Server Unicast option

Author:

  • Sylvain Daubert

Since:

  • 2.5.0

Instance Attribute Summary collapse

Attributes inherited from Option

#length, #type

Instance Method Summary collapse

Methods inherited from Option

human_type, initialize, new, subclasses, to_human

Instance Attribute Details

#addrObject

IPv6 server address



293
# File 'lib/packetgen/header/dhcpv6/option.rb', line 293

define_attr :addr, IPv6::Addr

Instance Method Details

#human_dataString

Get human-readable data (addr)

Returns:

  • (String)

Since:

  • 2.5.0



297
298
299
# File 'lib/packetgen/header/dhcpv6/option.rb', line 297

def human_data
  addr
end