anchor.diff:      HostName.
   
   
  -%% ----
   format_host(Ip) when is_tuple(Ip); is_list(Ip) ->
       case inet:gethostbyaddr(Ip) of
           {ok, H} -> element(2, H);
  
positive.code:     try
          Ip = yaws_logger_netutils:parse_ip(HostName),
          format_real_ip(Ip, InH, RevPx)
      catch
          _:_ ->
              HostName
  
negative.code:                  {Ip,_,_,OutH,_}=Data, Msg) ->
      Msg1 = case check_cond(Cond, OutH#outh.status) of
                 true  -> [format_host(Ip)|Msg];
                 false -> [$-|Msg]
             end,
      format_accesslog(Rest, ServerName, RevPx, Data, Msg1);
  format_accesslog([{real_remote_host, Cond}|Rest], ServerName, RevPx,
                   {Ip,_,InH,OutH,_}=Data, Msg) ->
      Msg1 = case check_cond(Cond, OutH#outh.status) of
                 true  -> [format_real_host(Ip,InH,RevPx)|Msg];
                 false -> [$-|Msg]
             end,
      format_accesslog(Rest, ServerName, RevPx, Data, Msg1);
  