anchor.diff:  	    Reason;
   	Normal ->
   	    Normal
  +    end.
  +
  +return_hostent(Length, Addresses, Name, Aliases) ->
  +    case Addresses of
  +        [] ->
  +            {error, nxdomain};
  +        [_|_] ->
  +            Addrtype =
  +                case Length of
  +                    ?UNIT_IPV4 -> inet;
  +                    ?UNIT_IPV6 -> inet6
  +                end,
  +            Hostent =
  +                #hostent{
  +                   h_length = Length,       h_addrtype = Addrtype,
  +                   h_name = Name,           h_aliases = Aliases,
  +                   h_addr_list = Addresses},
  +            {ok, Hostent}
       end.
   
   expand_default_name([], DefaultName) when is_list(DefaultName) ->
  
positive.code: %%
  %% %CopyrightBegin%
  %%
  %% Copyright Ericsson AB 1998-2016. All Rights Reserved.
  %%
  %% Licensed under the Apache License, Version 2.0 (the "License");
  %% you may not use this file except in compliance with the License.
  
negative.code: 	    case BinHostent of
  		<<?UNIT_ERROR, Errstring/binary>> -> 
  		    {error, list_to_atom(listify(Errstring))};
  		<<Length, Naddr:32, T0/binary>>
                    when Length =:= ?UNIT_IPV4 ->
  		    {T1, Addresses} = pick_addresses_v4(Naddr, T0),
  		    {Name, Names} =
  			expand_default_name(pick_names(T1), DefaultName),
                      return_hostent(Length, Addresses, Name, Names);
  		<<Length, Naddr:32, T0/binary>>
                    when Length =:= ?UNIT_IPV6 ->
  		    {T1, Addresses} = pick_addresses_v6(Naddr, T0),
  		    {Name, Names} =
  			expand_default_name(pick_names(T1), DefaultName),
                      return_hostent(Length, Addresses, Name, Names);
  		_Else ->
  		    {error, {internal_error, {malformed_response, BinHostent}}}
  	    end
  