From 2679dbf8647782112ec84953ab554df9bb2316cd Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 6 Mar 2012 12:13:51 +0000 Subject: [PATCH 1/1] Make sure the unknown country is only redirected to one server --- bin/mkgeo | 2 +- src/tile.openstreetmap | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mkgeo b/bin/mkgeo index aa8babb..bb29fe6 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -88,7 +88,7 @@ foreach my $country (values %countries) $kmlwriter->endTag("Placemark"); } -foreach my $server (keys %$servers) +foreach my $server (grep { $servers->{$_}->{default} }keys %$servers) { $zonefile->print("Cxx.${zone}:${server}.${zone}:600\n"); } diff --git a/src/tile.openstreetmap b/src/tile.openstreetmap index 87d8fa1..a03e75f 100644 --- a/src/tile.openstreetmap +++ b/src/tile.openstreetmap @@ -2,6 +2,7 @@ london: lat: 51.507222 lon: -0.1275 + default: true preferred: continents: - EU -- 2.39.5