lib/packetgen/header/eap/fast.rb in packetgen-3.3.3 vs lib/packetgen/header/eap/fast.rb in packetgen-4.0.0

- old
+ new

@@ -11,16 +11,16 @@ class EAP # Extensible Authentication Protocol (EAP) - Flexible Authentication variable # Secure Tunneling, {https://tools.ietf.org/html/rfc4851 RFC 4851} # # {EAP::FAST} has following fields: - # * {#flags} ({Types::Int8}), - # * optionally {#message_length} ({Types::Int32}), if +#l?+ is +true+, - # * {#body} ({Types::String}). + # * {#flags} ({BinStruct::Int8}), + # * optionally {#message_length} ({BinStruct::Int32}), if +#l?+ is +true+, + # * {#body} ({BinStruct::String}). # @author Sylvain Daubert # @since 2.1.4 class FAST < TTLS - update_field :type, default: 43 + update_attr :type, default: 43 end end end end