Method: PacketGen::Plugin::IKE#initialize
- Defined in:
- lib/packetgen/plugin/ike.rb
#initialize(options = {}) ⇒ IKE
Returns a new instance of IKE.
152 153 154 155 156 157 |
# File 'lib/packetgen/plugin/ike.rb', line 152 def initialize(={}) super calc_length unless [:length] self.type = [:type] if [:type] self.type = [:exchange_type] if [:exchange_type] end |