@@ -849,7 +849,7 @@ module CentralProtocolHandler
# find country code
cc = GeoIP.new('GeoIP.dat').country(iphost)[3].to_s.downcase
- rest.prepend " #{cc}" unless cc.nil? || cc.empty? || targetname =~ /#{cc}$/
+ rest.prepend " #{cc}" unless cc.nil? || cc.empty? || targetname =~ /\.#{cc}$/
end # if ip is x.x.x.x