anchor.diff:      exit({get_repl,X,Acc}).
   
   %%%----------------------------------------------------------------
  --define(CALL_FUN(Key,D), catch (?GET_OPT(Key, D#data.opts)) ).
  +-define(CALL_FUN(Key,D), catch (?GET_OPT(Key, (D#data.ssh_params)#ssh.opts)) ).
   
   disconnect_fun({disconnect,Msg}, D) -> ?CALL_FUN(disconnectfun,D)(Msg);
   disconnect_fun(Reason, D)           -> ?CALL_FUN(disconnectfun,D)(Reason).
  
positive.code: 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),
      timer:apply_after(?REKEY_DATA_TIMOUT, gen_statem, cast, [self(), data_size]),
      case Sent >= MaxSent of
  	true ->
  
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 ->
  