lib/packetgen/header/dhcp/options.rb in packetgen-3.0.1 vs lib/packetgen/header/dhcp/options.rb in packetgen-3.0.2

- old
+ new

@@ -31,10 +31,10 @@ when 'pad', 0 Pad.new when 'end', 255 End.new else - obj_klass = self.class.class_eval { @klass } + obj_klass = self.class.set_of_klass obj_klass.new(hsh) end end end end