anchor.diff:      do_verify_address(A, inet6).
   
   do_verify_address(A, Family) ->
  +    do_verify_address(A, Family, list).
  +
  +do_verify_address(A, Family, Form)
  +  when (Form =:= list) orelse (Form =:= tuple) ->
       case (catch snmp_misc:ip(A, Family)) of
  -	{ok, IP} ->
  +	{ok, IP} when (Form =:= tuple) ->
  +	    {ok, IP};
  +	{ok, IP} when (Form =:= list) ->
   	    {ok, tuple_to_list(IP)};
   	{error, _} ->
   	    {error, "invalid address: " ++ A};
  
positive.code: 		      EngineName, fun verify_engine_id/1),
      MMS        = ask("3. Max message size?", "484", 
  		     fun verify_max_message_size/1),
      AgentUDP   = ask("4. The UDP port the agent listens to. "
  		     "(standard 161)",
  		     "4000", fun verify_port_number/1),
      Host       = host(),
      AgentIP    = ask("5. IP address for the agent (only used as id ~n"
  		     "   when sending traps)", Host, fun verify_address/1),
      %% We intentionally skip TDomain...
      %% If the user wish to use IPv6, the user must create an dummy entry here
      %% and then manually edit these entries later.
      ManagerIP  = ask("6. IP address for the manager (only this manager ~n"
  		     "   will have access to the agent, traps are sent ~n"
  		     "   to this one)", Host, fun verify_address/1),
      TrapUdp    = ask("7. To what UDP port at the manager should traps ~n"
  		     "   be sent (standard 162)?", "5000", 
  		     fun verify_port_number/1),
      SecType    = ask("8. Do you want a none- minimum- or semi-secure"
  		     " configuration? ~n"
  		     "   Note that if you chose v1 or v2, you won't get any"
  
negative.code: 
  write_agent_snmp_files(
    Dir, Vsns, ManagerIP, TrapUDP, AgentIP, AgentUDP, SysName,
    NotifType, SecType, Passwd, EngineID, MMS) 
    when is_list(Dir) andalso
         is_list(Vsns) andalso
         is_list(ManagerIP) andalso
         is_integer(TrapUDP) andalso
         is_list(AgentIP) andalso
         is_integer(AgentUDP) andalso
         is_list(SysName) andalso
         is_atom(NotifType) ->
      Domain = snmp_target_mib:default_domain(),
      ManagerAddr = {ManagerIP, TrapUDP},
      write_agent_snmp_conf(Dir, AgentIP, AgentUDP, EngineID, MMS),
  