anchor.diff:  
   
   host() ->
  +    do_host(inet).
  +
  +host(transportDomainUdpIpv4) ->
  +    do_host(inet);
  +host(transportDomainUdpIpv6) ->
  +    do_host(inet6).
  +
  +do_host(Fam) ->
       case (catch inet:gethostname()) of
   	{ok, Name} ->
  -	    case (catch inet:getaddr(Name, inet)) of
  +	    case (catch inet:getaddr(Name, Fam)) of
   		{ok, Addr} when is_tuple(Addr) ->
   		    lists:flatten(
   		      io_lib:format("~w.~w.~w.~w", tuple_to_list(Addr)));
  -		_ ->
  -		    "127.0.0.1"
  +		_ when (Fam =:= inet) ->
  +		    "127.0.0.1";
  +                _ when (Fam =:= inet6)  ->
  +                    "::1"
   	    end;
  -	_ -> 
  -	    "127.0.0.1"
  +        _ when (Fam =:= inet) ->
  +            "127.0.0.1";
  +        _ when (Fam =:= inet6)  ->
  +            "::1"
       end.
   
   guess_agent_name() ->
  
positive.code:     write_agent_snmp_community_conf(Dir),
      write_agent_snmp_standard_conf(Dir, SysName),
      write_agent_snmp_target_addr_conf(Dir, Domain, ManagerAddr, Vsns),
      write_agent_snmp_target_params_conf(Dir, Vsns),
      write_agent_snmp_notify_conf(Dir, NotifType),
      write_agent_snmp_usm_conf(Dir, Vsns, EngineID, SecType, Passwd),
  
negative.code: 		      "(true/false)?",
  		      "false", fun verify_bool/1),
      NetIfNoReuse = ask("17. Shall the manager IP address and port "
  		       "be *not* reusable (true/false)?",
  		       "false", fun verify_bool/1),
      NetIfRecbuf = 
  	case ask("18. Receive buffer size of the manager (in bytes) "
  