]> git.openstreetmap.org Git - dns.git/commitdiff
mkgeo: Add cache server property to json
authorGrant Slater <git@firefishy.com>
Sat, 16 Mar 2013 12:20:53 +0000 (12:20 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 16 Mar 2013 12:20:53 +0000 (12:20 +0000)
bin/mkgeo

index fca95b24a9f309da0e8303958263c04f377419de..edb18b51ea006d902a53c47135178bc671a9f797 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -165,7 +165,8 @@ foreach my $country (values %countries)
             coordinates => [ [ $clon, $clat ], [ $slon, $slat ] ]
         },
         properties => {
             coordinates => [ [ $clon, $clat ], [ $slon, $slat ] ]
         },
         properties => {
-            country => $country->{name}
+            country => $country->{name},
+            server => $server->{name}
         }
     };
 }
         }
     };
 }