lib/packetgen/header/eap/fast.rb in packetgen-2.8.3 vs lib/packetgen/header/eap/fast.rb in packetgen-2.8.4

- old
+ new

@@ -16,13 +16,10 @@ # * optionally {#message_length} ({Types::Int32}), if +#l?+ is +true+, # * {#body} ({Types::String}). # @author Sylvain Daubert # @since 2.1.4 class FAST < TTLS - # @return [EAP::FAST] - def initialize(options={}) - super({ type: 43 }.merge!(options)) - end + update_field :type, default: 43 end end end end