]> git.openstreetmap.org Git - dns.git/blobdiff - bin/mksshfp
Fix generation of JSON data for tile server map
[dns.git] / bin / mksshfp
index 314eb43c9904caac1348f88583dab08fb9f28746..3c1cd1dd49c4e327f8dd81d7629696b5ca63e148 100755 (executable)
@@ -8,7 +8,7 @@ if (-f "/etc/ssh/ssh_known_hosts")
 
     while (my $line = <SSHFP>)
     {
-        if ($line =~ /^(\S+) IN SSHFP (\d+) (\d+) ([0-9A-F]+)$/)
+        if ($line =~ /^(\S+)\.openstreetmap\.org IN SSHFP (\d+) (\d+) ([0-9A-F]+)$/)
         {
             my $host = $1;
             my $algorithm = $2;