marker = GMarker.new([location.lat,location.lng],
:title => "Voter",
- :info_window => (voter.ipaddress or "unknown") \
- + " " + voter.vote.votestring)
+ :info_window => (voter.ipaddress or "unknown"))
@map.overlay_init(marker)
end
end
end
%>
- <%=h((w.host == nil or w.host.empty?) ? voter.ipaddress : w.host)%>
+ <%=h((w.host == nil or w.host.empty?) ? voter.ipaddress : w.host.reverse.slice(0,30).reverse)%>
</td>
<td>
<%org=(w.all.grep(/^(OrgName|org-name)/)[0] or "").sub(/^(OrgName|org-name)\:/,'').strip+" - "+ (w.all.grep(/^(NetName|netname)/)[0] or "").sub(/^(NetName|netname)\:/,'').strip %>
- <% if org =~ /IANA/ %>
+ <% if org =~ /asdfasdf/ %>
<%= "No additional information" %>
<% else %>
<%= h(org) %>
if ip_range.include? self.ip and l[1].length > 0
return Object.instance_eval("Server::#{l[1]}.new")
end
- return Server::Ripe.new
+ return Server::Arin.new
end
end
ipv6_list = YAML::load_file(File.dirname(__FILE__) + '/data/ipv6.yaml')
server = server_with_hash(ipv6_list)
unless server.kind_of? Server::Server
- return Server::Ripe.new
+ return Server::Arin.new
else
return server
end