Paul Klumpp 12 years ago
parent
commit
579dcee07a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      em_server.rb

+ 2 - 2
em_server.rb

@@ -261,14 +261,14 @@ module InterconnectionPointProtocolHandler
             if iphost =~ /^\d+\.\d+\.\d+\.\d+/
               # find country code
               c = GeoIP.new('GeoIP.dat').country(iphost)[3].to_s.downcase
-              rest << "(#{c})" unless c.nil?
+              rest.prepend " (#{c}) " unless c.nil?
 
               # resolve it to a dns name
               f = Fiber.new do
                 Fiber.yield Resolv.getname(iphost)
               end
               domainname = f.resume
-              #host_name = ""
+              #domainname = ""
 
               if domainname.nil? || domainname.empty?
                 domainname = iphost