anchor.diff:  	{ok, Addr6} ->
   	    Addr6
       end.
  -
   -define(GET_REMOTE_ADDR, get_remote_addr_(Req:get(peer))).
   
  +count_request_(What, {_, _, _, _}) ->
  +    collectd:inc_counter(http_requests, "inet_" ++ atom_to_list(What), [1]);
  +count_request_(What, {_, _, _, _, _, _, _, _}) ->
  +    collectd:inc_counter(http_requests, "inet6_" ++ atom_to_list(What), [1]).
  +-define(COUNT_REQUEST(What), count_request_(What, ?GET_REMOTE_ADDR)).
   
   request(Req, 'GET', "add") ->
  +    ?COUNT_REQUEST(add_form),
       Body = [<<"
   <h2>Add a .torrent file</h2>
   <form action='/add' method='POST' enctype='multipart/form-data' class='important'>
  
positive.code: request(Req, 'GET', {download, Name}) ->
      case torrent:get_torrent_binary(Name) of
  	{ok, Binary} ->
  	    collectd:inc_counter(http_requests, download, [1]),
  	    Req:ok({?MIME_BITTORRENT,
  		    Binary});
  	not_found ->
  	    collectd:inc_counter(http_requests, download404, [1]),
  	    html_not_found(Req)
      end;
  
  
negative.code:     end;
  
  request(Req, 'GET', "") ->
      ?COUNT_REQUEST(root),
      TorrentMetas = torrent:recent(200),
      HTML =
  	[{img, [{"src", "/static/chaosbay.png"}], []},
  