]> git.openstreetmap.org Git - nominatim.git/blobdiff - munin/nominatim_throttled_ips
write correct ban list out
[nominatim.git] / munin / nominatim_throttled_ips
index 2fa1d80efe2344ef9df37381b61ead1b71222952..cdfc88df654b81b0f013494fa2b766abfa671441 100755 (executable)
@@ -25,4 +25,4 @@ fi
  
 BASEDIR="$(dirname "$(readlink -f "$0")")"
 
-cut -f 2 -d ' ' $BASEDIR/../settings/ip_blocks.map | uniq -c | sed 's:[[:space:]]*\([0-9]\+\) \(.*\):\2.value \1:'
+cut -f 2 -d ' ' $BASEDIR/../settings/ip_blocks.map | sort | uniq -c | sed 's:[[:space:]]*\([0-9]\+\) \(.*\):\2.value \1:'