anchor.diff:  handle_event(cast, data_size, {connected,Role}, D) ->
       {ok, [{send_oct,Sent0}]} = inet:getstat(D#data.socket, [send_oct]),
       Sent = Sent0 - D#data.last_size_rekey,
  -    MaxSent = ?GET_OPT(rekey_limit, D#data.opts),
  +    MaxSent = ?GET_OPT(rekey_limit, (D#data.ssh_params)#ssh.opts),
       timer:apply_after(?REKEY_DATA_TIMOUT, gen_statem, cast, [self(), data_size]),
       case Sent >= MaxSent of
   	true ->
  
positive.code: 						 | undefined,
  	  last_size_rekey           = 0         :: non_neg_integer(),
  	  event_queue               = []        :: list(),
  	  opts                                  :: ssh_options:options(),
  	  inet_initial_recbuf_size              :: pos_integer()
  						 | undefined
  	 }).
  
negative.code:                        transport_protocol = Protocol,
                         transport_cb = Callback,
                         transport_close_tag = CloseTag,
                         ssh_params = init_ssh_record(Role, Socket, PeerAddr, Opts)
                },
              D = case Role of
                      client ->
  