]> git.openstreetmap.org Git - dns.git/blobdiff - bin/mkgeo
Don't output bandwidth for global caches
[dns.git] / bin / mkgeo
index 676c4498f7ab019865a6e4bfa2c55c4835d2b3b7..7373c2db866f3be44f97812ee29f628f27dc7a4e 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -263,6 +263,8 @@ foreach my $origin (sort { $a->{name} cmp $b->{name} } values %$origins)
         };
     }
 
+    next if $cluster->{global};
+
     $targetorigins->{$cluster->{name}}->{bandwidth} += $origin->{bandwidth};
 }