From c5c54d16e16963829f6713d5b8e75e9b84b12cc5 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 22 Jan 2022 12:34:36 +0100 Subject: [PATCH] Weigh coordinate distance stronger --- intel/geoip/location.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/intel/geoip/location.go b/intel/geoip/location.go index ef89c208..823aa05e 100644 --- a/intel/geoip/location.go +++ b/intel/geoip/location.go @@ -58,11 +58,11 @@ type Coordinates struct { */ const ( - weightContinentMatch = 25 - weightCountryMatch = 20 - weightASOrgMatch = 15 - weightASNMatch = 10 - weightCoordinateDistance = 30 + weightContinentMatch = 20 + weightCountryMatch = 15 + weightASOrgMatch = 10 + weightASNMatch = 5 + weightCoordinateDistance = 50 ) /*