lib/ruby_smb/dcerpc/bind.rb in ruby_smb-1.0.5 vs lib/ruby_smb/dcerpc/bind.rb in ruby_smb-1.1.0

- old
+ new

@@ -33,11 +33,11 @@ class Bind < BinData::Record endian :little pdu_header :pdu_header, label: 'PDU header' - uint16 :max_xmit_frag, label: 'max transmit frag size', initial_value: 0xFFFF - uint16 :max_recv_frag, label: 'max receive frag size', initial_value: 0xFFFF + uint16 :max_xmit_frag, label: 'max transmit frag size', initial_value: RubySMB::Dcerpc::MAX_XMIT_FRAG + uint16 :max_recv_frag, label: 'max receive frag size', initial_value: RubySMB::Dcerpc::MAX_RECV_FRAG uint32 :assoc_group_id, label: 'ncarnation of client-server assoc group' p_cont_list_t :p_context_list, label: 'Presentation context list', endpoint: -> { endpoint } string :auth_verifier, label: 'Authentication verifier', onlyif: -> { pdu_header.auth_length > 0 },