anchor.diff:      end.
   
   %%--------------------------------------------------------------------
  -connect_sock_not_tcp(Config) ->
  +connect_sock_not_tcp(_Config) ->
       {ok,Sock} = gen_udp:open(0, []), 
       {error, not_tcp_socket} = ssh:connect(Sock, []),
       gen_udp:close(Sock).
   
   %%--------------------------------------------------------------------
  -connect_sock_not_passive(Config) ->
  +daemon_sock_not_tcp(_Config) ->
  +    {ok,Sock} = gen_udp:open(0, []), 
  +    {error, not_tcp_socket} = ssh:daemon(Sock),
  +    gen_udp:close(Sock).
  +
  +%%--------------------------------------------------------------------
  +connect_sock_not_passive(_Config) ->
       {ok,Sock} = gen_tcp:connect("localhost", ?SSH_DEFAULT_PORT, []), 
       {error, not_passive_mode} = ssh:connect(Sock, []),
  +    gen_tcp:close(Sock).
  +
  +%%--------------------------------------------------------------------
  +daemon_sock_not_passive(_Config) ->
  +    {ok,Sock} = gen_tcp:connect("localhost", ?SSH_DEFAULT_PORT, []), 
  +    {error, not_passive_mode} = ssh:daemon(Sock),
       gen_tcp:close(Sock).
   
   %%--------------------------------------------------------------------
  
positive.code:      max_channels_option
      ].
  groups() ->
      [{openssh, [], payload() ++ ptty()}].
  
  payload() ->
      [simple_exec,
       simple_exec_sock,
       connect_sock_not_tcp,
       connect_sock_not_passive,
       small_cat,
       big_cat,
       send_after_exit].
  
negative.code:     [ptty_alloc_default,
       ptty_alloc,
       ptty_alloc_pixel].
  
  sock() ->
      [connect_sock_not_passive,
       daemon_sock_not_passive
      ].
  
  %%--------------------------------------------------------------------
  init_per_suite(Config) ->
  